Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 112.6 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001768, allocations: 197.4 kB / 17.31 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.03 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002444/0.3517, allocations: 0.8315 MB / 1.028 GB, free: 1.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.3518, allocations: 43.78 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3519, allocations: 0 / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.3519, allocations: 7.875 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.352, allocations: 11.94 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.435e-05/0.3521, allocations: 23.97 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3522, allocations: 59.78 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3523, allocations: 43.95 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.3524, allocations: 27.86 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.3525, allocations: 27.8 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3525, allocations: 8 kB / 1.028 GB, free: 1.023 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.3525, allocations: 4 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3525, allocations: 23.86 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.3526, allocations: 35.75 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3527, allocations: 71.69 kB / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3527, allocations: 0 / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3527, allocations: 0 / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3527, allocations: 0 / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004652/0.3532, allocations: 375.2 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3533, allocations: 12.03 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3533, allocations: 8.844 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3535, allocations: 196.1 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3535, allocations: 8.281 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3536, allocations: 12.36 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3537, allocations: 94.3 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3537, allocations: 192 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3538, allocations: 7.938 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3538, allocations: 4 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.3538, allocations: 39.92 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.3544, allocations: 436.5 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.3545, allocations: 37.41 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.3545, allocations: 25.66 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.3545, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3546, allocations: 30.56 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3546, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.3548, allocations: 65.47 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3548, allocations: 77.11 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.355, allocations: 159.9 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.355, allocations: 29.64 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.3551, allocations: 108 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.3551, allocations: 3.906 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.3552, allocations: 17.72 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3553, allocations: 327.1 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3554, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.3554, allocations: 17.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.3555, allocations: 25.72 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3555, allocations: 3.984 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.348e-05/0.3556, allocations: 61.61 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3556, allocations: 8 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3556, allocations: 3.938 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3556, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.3557, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3557, allocations: 11.91 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.3558, allocations: 11.84 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.3558, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.3559, allocations: 121.7 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.3559, allocations: 7.906 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.356, allocations: 19.81 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.356, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.356, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.356, allocations: 3.984 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.3564, allocations: 466.8 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3564, allocations: 0 / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.3564, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3564, allocations: 4.062 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3564, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3565, allocations: 7.938 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3565, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.042e-05/0.3566, allocations: 81.83 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3566, allocations: 85.02 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3566, allocations: 32 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.3567, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.3567, allocations: 7.922 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3567, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001079/0.3568, allocations: 121.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3568, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001838/0.357, allocations: 4 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001186/0.3571, allocations: 103.2 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.3572, allocations: 16 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3572, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.3572, allocations: 7.938 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3574, allocations: 11.94 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.3577, allocations: 162.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.358, allocations: 0.6965 MB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.358, allocations: 8.422 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3581, allocations: 11.44 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3581, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.002565/0.3606, allocations: 452.6 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches