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.001563/0.001563, allocations: 111.5 kB / 16.42 MB, free: 6.453 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.00184/0.00184, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.449/1.449, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.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.635/2.635, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9494/0.9509, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002655/0.9537, allocations: 0.8342 MB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001864/0.9539, allocations: 43.78 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.954, allocations: 4 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.261e-05/0.9541, allocations: 11.86 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.9542, allocations: 11.88 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.944e-05/0.9542, allocations: 15.98 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.9544, allocations: 63.84 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.9546, allocations: 47.95 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.9547, allocations: 19.94 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.9547, allocations: 35.72 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.9548, allocations: 4 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.9548, allocations: 8 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.9548, allocations: 11.94 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.9549, allocations: 31.8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.955, allocations: 79.22 kB / 1.169 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9551, allocations: 0 / 1.169 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.674e-06/0.9551, allocations: 0 / 1.169 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.9551, allocations: 0 / 1.169 GB, free: 2.684 MB / 0.8887 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.0005278/0.9556, allocations: 384.1 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.9557, allocations: 8.922 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.9557, allocations: 12.84 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.956, allocations: 196.1 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.956, allocations: 8.375 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.956, allocations: 16.38 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.9562, allocations: 92.67 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9563, allocations: 192 / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.9563, allocations: 7.938 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.9563, allocations: 4 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.9564, allocations: 35.92 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.957, allocations: 444.7 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.9571, allocations: 41.2 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.9571, allocations: 17.78 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.9572, allocations: 0 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.9572, allocations: 42.59 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9572, allocations: 0 / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/0.9574, allocations: 53.53 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.9575, allocations: 81.09 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.9576, allocations: 157.5 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.9577, allocations: 25.7 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.9577, allocations: 108.3 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.9578, allocations: 11.95 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.9578, allocations: 17.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.958, allocations: 314.8 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.958, allocations: 11.98 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.958, allocations: 17.72 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.9581, allocations: 25.72 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9581, allocations: 3.938 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.286e-05/0.9582, allocations: 65.59 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9582, allocations: 4 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9582, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9582, allocations: 3.938 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.9583, allocations: 8 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.9583, allocations: 3.938 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.9584, allocations: 7.938 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.9584, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 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.792e-05/0.9585, allocations: 121.8 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.9585, allocations: 7.953 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.9586, allocations: 19.8 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9586, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9586, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.9587, allocations: 93.05 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.9587, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.9588, allocations: 96 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.9588, allocations: 11.98 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001347/0.9589, allocations: 196.2 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001943/0.9591, allocations: 298 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.28e-05/0.9592, allocations: 8.031 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.251e-05/0.9593, allocations: 119.2 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/0.9593, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.9598, allocations: 99.98 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006012/0.9604, allocations: 0.608 MB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003403/0.9638, allocations: 0.5084 MB / 1.173 GB, free: 14.05 MB / 0.9044 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/jenkins1/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