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.001463/0.001463, allocations: 115 kB / 16.42 MB, free: 6.48 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.001354/0.001354, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.604/2.604, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.966, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004338/0.9703, allocations: 2.141 MB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.9737, allocations: 1.86 MB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.974, allocations: 4 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.9749, allocations: 227.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.9751, allocations: 63.42 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.9764, allocations: 422.8 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.9771, allocations: 402.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.9772, allocations: 47.91 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.9776, allocations: 159.5 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.9779, allocations: 155.4 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.9781, allocations: 28 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.9786, allocations: 239.7 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.9788, allocations: 115.7 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.979, allocations: 163.2 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008338/0.9798, allocations: 0.5995 MB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9799, allocations: 0 / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9799, allocations: 4 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.9799, allocations: 0 / 1.174 GB, free: 13.25 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.001474/0.9814, allocations: 0.7136 MB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9814, allocations: 8.922 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.9832, allocations: 164.5 kB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.9838, allocations: 366.7 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.9839, allocations: 71.95 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.984, allocations: 12.3 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9851, allocations: 445.4 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9851, allocations: 0 / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.9852, allocations: 11.92 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.9852, allocations: 4 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.9868, allocations: 0.5801 MB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.9888, allocations: 1.05 MB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.9936, allocations: 0.8456 MB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.9944, allocations: 308.6 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.9945, allocations: 7.984 kB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.9955, allocations: 435 kB / 1.179 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.9955, allocations: 4 kB / 1.179 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002502/0.998, allocations: 0.9245 MB / 1.18 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.998, allocations: 51.41 kB / 1.18 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.9986, allocations: 433.6 kB / 1.18 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.9987, allocations: 37.7 kB / 1.18 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.9988, allocations: 168.1 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.9989, allocations: 55.53 kB / 1.18 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.9991, allocations: 57.67 kB / 1.18 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9992, allocations: 342.8 kB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008705/1, allocations: 384.6 kB / 1.181 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008397/1.001, allocations: 371.7 kB / 1.181 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.002, allocations: 0.5996 MB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.002, allocations: 0 / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002168/1.005, allocations: 0.9034 MB / 1.183 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/1.005, allocations: 45.69 kB / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.005, allocations: 0 / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.005, allocations: 0 / 1.183 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/1.005, allocations: 67.86 kB / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.005, allocations: 0 / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/1.006, allocations: 47.88 kB / 1.183 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/1.006, allocations: 15.98 kB / 1.183 GB, free: 3.531 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.0003347/1.006, allocations: 190.8 kB / 1.183 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.006, allocations: 35.77 kB / 1.183 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/1.006, allocations: 39.47 kB / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.006, allocations: 0 / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.006, allocations: 0 / 1.183 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/1.007, allocations: 168.8 kB / 1.183 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/1.007, allocations: 11.94 kB / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/1.007, allocations: 43.94 kB / 1.183 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.007, allocations: 19.97 kB / 1.183 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001969/1.009, allocations: 0.7269 MB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001668/1.011, allocations: 0.798 MB / 1.185 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007565/1.012, allocations: 327.6 kB / 1.185 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000367/1.012, allocations: 315.1 kB / 1.186 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of Backend: time 6.01e-07/1.012, allocations: 0 / 1.186 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.014, allocations: 0.5833 MB / 1.186 GB, free: 232 kB / 0.9044 GB Notification: Performance of SimCode: time 0.00134/1.015, allocations: 1.065 MB / 1.187 GB, free: 15.12 MB / 0.92 GB Notification: Performance of Templates: time 0.01622/1.031, allocations: 8.899 MB / 1.196 GB, free: 6.277 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