Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001384/0.001384, allocations: 109 kB / 16.41 MB, free: 6.465 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.001563/0.001563, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.603/2.603, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 68.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9584/0.9598, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004172/0.9641, allocations: 2.133 MB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003159/0.9672, allocations: 1.862 MB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.9675, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.9686, allocations: 223.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.969, allocations: 67.36 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.9705, allocations: 410.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.9713, allocations: 422.7 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.9714, allocations: 35.91 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.9718, allocations: 159.5 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.9722, allocations: 159.4 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.9723, allocations: 28 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005488/0.9729, allocations: 243.7 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.9731, allocations: 115.7 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.9733, allocations: 163.2 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008605/0.9742, allocations: 0.5956 MB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9742, allocations: 4 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9742, allocations: 0 / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.9742, allocations: 0 / 1.174 GB, free: 13.22 MB / 0.9044 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.001531/0.9758, allocations: 0.7175 MB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.9758, allocations: 8.922 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.9777, allocations: 160.5 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.9783, allocations: 362.7 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.9784, allocations: 75.94 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.9785, allocations: 12.38 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.9795, allocations: 441.4 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.9795, allocations: 0 / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.9796, allocations: 7.938 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.9796, allocations: 4 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.9812, allocations: 0.5815 MB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.9832, allocations: 1.05 MB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.9883, allocations: 0.8494 MB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008191/0.9891, allocations: 312.6 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.9892, allocations: 4 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.9902, allocations: 439 kB / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.496e-06/0.9903, allocations: 0 / 1.179 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002623/0.9929, allocations: 0.9284 MB / 1.18 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.9929, allocations: 55.41 kB / 1.18 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.9935, allocations: 429.6 kB / 1.18 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.9936, allocations: 33.7 kB / 1.18 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.9937, allocations: 168.1 kB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.9938, allocations: 55.52 kB / 1.18 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.9939, allocations: 57.67 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9941, allocations: 350.7 kB / 1.181 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.995, allocations: 380.6 kB / 1.181 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.9959, allocations: 371.7 kB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.9974, allocations: 0.602 MB / 1.182 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9975, allocations: 0 / 1.182 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002035/0.9995, allocations: 0.911 MB / 1.183 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.9996, allocations: 33.7 kB / 1.183 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.9996, allocations: 3.984 kB / 1.183 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.9996, allocations: 4 kB / 1.183 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/1, allocations: 59.92 kB / 1.183 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1, allocations: 8 kB / 1.183 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/1.001, allocations: 35.89 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/1.001, allocations: 15.98 kB / 1.183 GB, free: 3.504 MB / 0.9044 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.0002647/1.001, allocations: 194.8 kB / 1.183 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/1.001, allocations: 39.77 kB / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/1.001, allocations: 39.47 kB / 1.183 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.001, allocations: 3.984 kB / 1.183 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/1.001, allocations: 0 / 1.183 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/1.001, allocations: 164.8 kB / 1.183 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/1.001, allocations: 15.92 kB / 1.183 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/1.002, allocations: 47.94 kB / 1.183 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/1.002, allocations: 19.97 kB / 1.183 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001998/1.004, allocations: 0.7152 MB / 1.184 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001719/1.006, allocations: 0.7966 MB / 1.185 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007763/1.007, allocations: 323.7 kB / 1.185 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003665/1.007, allocations: 319.1 kB / 1.186 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/1.007, allocations: 0 / 1.186 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.009, allocations: 0.595 MB / 1.186 GB, free: 188 kB / 0.9044 GB Notification: Performance of SimCode: time 0.001291/1.01, allocations: 1.042 MB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of Templates: time 0.01576/1.026, allocations: 8.912 MB / 1.196 GB, free: 6.246 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches