Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001549, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001685/0.001686, allocations: 187 kB / 17.34 MB, free: 5.73 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.386/1.386, 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.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9625, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00404/0.9666, allocations: 2.157 MB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.9688, allocations: 1.036 MB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.9691, allocations: 3.938 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.9692, allocations: 23.73 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.9697, allocations: 91.2 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.9704, allocations: 191.2 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.9709, allocations: 298.7 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.9711, allocations: 60.7 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.9714, allocations: 111.6 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.9717, allocations: 135.4 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.9717, allocations: 20 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.9723, allocations: 299.6 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.9723, allocations: 43.78 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.9725, allocations: 131.2 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.973, allocations: 324.6 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.973, allocations: 0 / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.295e-06/0.973, allocations: 0 / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.9731, allocations: 4 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001245/0.9743, allocations: 0.631 MB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9744, allocations: 8.031 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.9747, allocations: 44.48 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.9752, allocations: 275.6 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.9752, allocations: 16.59 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.9753, allocations: 16.38 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.9758, allocations: 232.9 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9759, allocations: 4 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.9759, allocations: 8 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.9759, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.9766, allocations: 199.7 kB / 1.215 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.978, allocations: 0.9462 MB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.9789, allocations: 241.2 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.9792, allocations: 109.6 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.9793, allocations: 7.938 kB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.9793, allocations: 42.5 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.9793, allocations: 0 / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001239/0.9806, allocations: 333.4 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.9806, allocations: 85.09 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.9809, allocations: 259 kB / 1.217 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.981, allocations: 29.7 kB / 1.217 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.9811, allocations: 164.1 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.9812, allocations: 51.2 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.9813, allocations: 45.7 kB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9814, allocations: 334.8 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.9818, allocations: 87.92 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.9822, allocations: 153.9 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.9829, allocations: 233.7 kB / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9829, allocations: 0 / 1.218 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008659/0.9838, allocations: 296.9 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9838, allocations: 5.562 kB / 1.218 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9838, allocations: 8.156 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.9838, allocations: 4 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.9841, allocations: 59.89 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.9842, allocations: 7.984 kB / 1.218 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.9844, allocations: 39.72 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.9845, allocations: 8 kB / 1.218 GB, free: 3.488 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001378/0.9846, allocations: 137.7 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9847, allocations: 27.66 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.9856, allocations: 287.9 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.9856, allocations: 7.938 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9856, allocations: 0 / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.9856, allocations: 7.922 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.9861, allocations: 293.4 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9861, allocations: 3.938 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.9863, allocations: 47.95 kB / 1.219 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.9863, allocations: 4 kB / 1.219 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.9864, allocations: 8 kB / 1.219 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.9864, allocations: 3.984 kB / 1.219 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.9864, allocations: 4 kB / 1.219 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.9873, allocations: 436.2 kB / 1.219 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.9874, allocations: 108.6 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.9874, allocations: 4 kB / 1.219 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.9877, allocations: 31.95 kB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.9878, allocations: 16.27 kB / 1.219 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.9878, allocations: 4 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001809/0.988, allocations: 194 kB / 1.22 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.988, allocations: 3.938 kB / 1.22 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003851/0.9884, allocations: 56.19 kB / 1.22 GB, free: 1.734 MB / 0.9356 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 (20): * Single equations (assignments): 20 * 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.0002487/0.9886, allocations: 123.2 kB / 1.22 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007837/0.9894, allocations: 231.6 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9894, allocations: 0 / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.9898, allocations: 116.2 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.9904, allocations: 77.28 kB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008864/0.9913, allocations: 464.5 kB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.9916, allocations: 0.7556 MB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.9918, allocations: 31.42 kB / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.9918, allocations: 0 / 1.221 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of Templates: time 0.006905/0.9987, allocations: 3.474 MB / 1.225 GB, free: 12.45 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches