Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.009315/0.009315, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001837/0.001838, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.88 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.436, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002162/0.4382, allocations: 0.8178 MB / 1.167 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.4383, allocations: 47.78 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.4384, allocations: 4 kB / 1.167 GB, free: 6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.472e-05/0.4384, allocations: 11.88 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.4385, allocations: 7.922 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.345e-05/0.4386, allocations: 19.98 kB / 1.168 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.4387, allocations: 63.78 kB / 1.168 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.4389, allocations: 39.98 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.439, allocations: 31.84 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.439, allocations: 27.8 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4391, allocations: 4 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.4391, allocations: 8 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.4391, allocations: 15.92 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.4392, allocations: 39.75 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.4393, allocations: 79.56 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4393, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4393, allocations: 4 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4393, allocations: 0 / 1.168 GB, free: 5.652 MB / 0.92 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.0005139/0.4398, allocations: 387 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4399, allocations: 8.031 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4399, allocations: 12.84 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.4402, allocations: 196.2 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4402, allocations: 4.375 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4402, allocations: 8.375 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4404, allocations: 89.98 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4404, allocations: 192 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4404, allocations: 11.94 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4404, allocations: 0 / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.4405, allocations: 39.92 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.4411, allocations: 432.6 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.4412, allocations: 49.28 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.4412, allocations: 13.78 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.4412, allocations: 4 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4413, allocations: 34.56 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.4413, allocations: 4 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.4414, allocations: 57.52 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.4415, allocations: 81.11 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4417, allocations: 156.1 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4417, allocations: 33.64 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.4418, allocations: 100.1 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.4418, allocations: 11.88 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.4418, allocations: 21.97 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.442, allocations: 318.8 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.442, allocations: 4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.623e-05/0.442, allocations: 17.72 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.4421, allocations: 29.7 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4421, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.338e-05/0.4422, allocations: 65.55 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4422, allocations: 4 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4422, allocations: 7.938 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4423, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.4423, allocations: 7.984 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4424, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.4424, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.4424, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 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 8.182e-05/0.4425, allocations: 117.8 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.4425, allocations: 12.02 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.4426, allocations: 15.81 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4426, allocations: 3.938 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4426, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4426, allocations: 7.984 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.443, allocations: 466.7 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.443, allocations: 8 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.4431, allocations: 4.062 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4431, allocations: 4 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.4431, allocations: 3.938 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4431, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4431, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.091e-05/0.4432, allocations: 81.88 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.4433, allocations: 89.09 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4433, allocations: 0 / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.579e-05/0.4433, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.4433, allocations: 12.02 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.4433, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.4434, allocations: 115.9 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4434, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001889/0.4436, allocations: 11.94 kB / 1.171 GB, free: 2.168 MB / 0.92 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.0001543/0.4438, allocations: 107.2 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.4439, allocations: 16 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4439, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.4439, allocations: 7.938 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.4441, allocations: 11.94 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.4445, allocations: 162.5 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.4448, allocations: 0.6926 MB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.4449, allocations: 12.42 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.4449, allocations: 7.438 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/0.4449, allocations: 4 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of Templates: time 0.002989/0.4479, allocations: 460.4 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches