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.006149/0.00615, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001169/0.00117, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.406/1.406, allocations: 222.9 MB / 240.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9976/0.9989, allocations: 157.4 MB / 1.208 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003232/1.002, allocations: 2.159 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001601/1.004, allocations: 1.036 MB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/1.004, allocations: 3.938 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-05/1.004, allocations: 23.67 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003099/1.004, allocations: 87.22 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/1.005, allocations: 195.5 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/1.005, allocations: 294.8 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/1.005, allocations: 56.72 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/1.005, allocations: 111.6 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/1.006, allocations: 143.3 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/1.006, allocations: 16 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/1.006, allocations: 303.6 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/1.006, allocations: 47.77 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/1.006, allocations: 123.3 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/1.006, allocations: 332.6 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.006, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.006, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.006, allocations: 4 kB / 1.213 GB, free: 8.824 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.001014/1.008, allocations: 0.6193 MB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.008, allocations: 12.03 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/1.008, allocations: 44.55 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/1.008, allocations: 287.5 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.008, allocations: 8.656 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.008, allocations: 12.38 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/1.009, allocations: 240.9 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.009, allocations: 4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/1.009, allocations: 4 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.009, allocations: 8 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/1.009, allocations: 195.8 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.01, allocations: 0.9422 MB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/1.011, allocations: 241.2 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/1.011, allocations: 105.6 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/1.012, allocations: 7.938 kB / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.012, allocations: 34.56 kB / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/1.012, allocations: 0 / 1.215 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001072/1.013, allocations: 337.3 kB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.013, allocations: 85.09 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/1.013, allocations: 263 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.013, allocations: 25.7 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.013, allocations: 164.1 kB / 1.216 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/1.013, allocations: 59.19 kB / 1.216 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/1.013, allocations: 41.7 kB / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.013, allocations: 342.8 kB / 1.216 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/1.014, allocations: 83.92 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/1.014, allocations: 145.9 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/1.015, allocations: 241.7 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.015, allocations: 0 / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007358/1.015, allocations: 289 kB / 1.217 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.015, allocations: 8 kB / 1.217 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.015, allocations: 0 / 1.217 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/1.015, allocations: 8.156 kB / 1.217 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/1.016, allocations: 55.89 kB / 1.217 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.016, allocations: 7.984 kB / 1.217 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.016, allocations: 39.72 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/1.016, allocations: 12 kB / 1.217 GB, free: 3.598 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.0001091/1.016, allocations: 131.3 kB / 1.217 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.016, allocations: 35.66 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/1.017, allocations: 291.8 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.017, allocations: 4 kB / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.017, allocations: 0 / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.017, allocations: 11.97 kB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/1.017, allocations: 293.4 kB / 1.218 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/1.017, allocations: 3.938 kB / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/1.018, allocations: 51.89 kB / 1.218 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.018, allocations: 8 kB / 1.218 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.018, allocations: 4 kB / 1.218 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.018, allocations: 8 kB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.018, allocations: 0 / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/1.018, allocations: 436 kB / 1.219 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/1.018, allocations: 116.5 kB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/1.018, allocations: 0 / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/1.019, allocations: 35.89 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/1.019, allocations: 15.98 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/1.019, allocations: 4 kB / 1.219 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001675/1.019, allocations: 190 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.019, allocations: 4 kB / 1.219 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003514/1.019, allocations: 55.94 kB / 1.219 GB, free: 1.832 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.0002004/1.02, allocations: 119.5 kB / 1.219 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007037/1.02, allocations: 231.9 kB / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.02, allocations: 0 / 1.219 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.021, allocations: 119.8 kB / 1.219 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/1.021, allocations: 79 kB / 1.219 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/1.022, allocations: 442.8 kB / 1.22 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.022, allocations: 0.7517 MB / 1.221 GB, free: 52 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.022, allocations: 34.42 kB / 1.221 GB, free: 16 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/1.022, allocations: 19.44 kB / 1.221 GB, free: 16 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/1.022, allocations: 0 / 1.221 GB, free: 16 MB / 0.9512 GB Notification: Performance of Templates: time 0.007763/1.03, allocations: 3.98 MB / 1.225 GB, free: 12.09 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/jenkins/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