Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001349, allocations: 112.7 kB / 16.42 MB, free: 6.469 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.001251/0.001251, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.38/1.38, 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 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003787/1.017, allocations: 2.138 MB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002974/1.02, allocations: 1.854 MB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/1.021, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007424/1.021, allocations: 234.5 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/1.022, allocations: 63.42 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/1.023, allocations: 409.4 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000573/1.023, allocations: 410.7 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/1.024, allocations: 52.36 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/1.024, allocations: 151.6 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/1.024, allocations: 155.4 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/1.024, allocations: 28 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/1.025, allocations: 243.7 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/1.025, allocations: 111.7 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/1.025, allocations: 175.1 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/1.026, allocations: 0.59 MB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.026, allocations: 4 kB / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/1.026, allocations: 0 / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.026, allocations: 0 / 1.215 GB, free: 7.031 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001451/1.027, allocations: 0.6983 MB / 1.216 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.027, allocations: 12.03 kB / 1.216 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/1.029, allocations: 164.3 kB / 1.216 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/1.03, allocations: 366.3 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/1.03, allocations: 71.95 kB / 1.216 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/1.03, allocations: 12.38 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.031, allocations: 447.4 kB / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.031, allocations: 0 / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/1.031, allocations: 0 / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.031, allocations: 7.938 kB / 1.217 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/1.033, allocations: 0.5816 MB / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/1.035, allocations: 1.043 MB / 1.218 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/1.04, allocations: 0.8417 MB / 1.219 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/1.04, allocations: 304.7 kB / 1.219 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/1.04, allocations: 8 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009971/1.041, allocations: 449.9 kB / 1.22 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.866e-06/1.041, allocations: 0 / 1.22 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0025/1.044, allocations: 0.9147 MB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.044, allocations: 59.41 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/1.045, allocations: 429.6 kB / 1.221 GB, free: 472 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/1.045, allocations: 33.7 kB / 1.221 GB, free: 432 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/1.045, allocations: 176.1 kB / 1.221 GB, free: 252 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/1.045, allocations: 47.28 kB / 1.221 GB, free: 204 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.045, allocations: 57.67 kB / 1.221 GB, free: 140 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.045, allocations: 350.7 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008736/1.046, allocations: 380.6 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008409/1.047, allocations: 375.6 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/1.048, allocations: 0.5935 MB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.048, allocations: 7.875 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001955/1.05, allocations: 0.903 MB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/1.05, allocations: 41.69 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.05, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.051, allocations: 4 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/1.051, allocations: 63.86 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.051, allocations: 7.984 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/1.051, allocations: 47.84 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/1.051, allocations: 11.98 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002512/1.052, allocations: 189.7 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/1.052, allocations: 31.62 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.566e-05/1.052, allocations: 43.47 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.052, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.052, allocations: 3.938 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/1.052, allocations: 164.6 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/1.052, allocations: 15.94 kB / 1.224 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/1.053, allocations: 39.94 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/1.053, allocations: 19.97 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00198/1.055, allocations: 0.7231 MB / 1.225 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001692/1.056, allocations: 0.8038 MB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000767/1.057, allocations: 322.6 kB / 1.226 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003557/1.058, allocations: 323.1 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of Backend: time 7.82e-07/1.058, allocations: 0 / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.059, allocations: 0.5798 MB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001317/1.061, allocations: 1.046 MB / 1.228 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of Templates: time 0.01532/1.076, allocations: 8.901 MB / 1.237 GB, free: 96 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches