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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 163.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 394.2 MB / 0.6387 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 71.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9612/0.9636, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003018/0.9666, allocations: 2.064 MB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.9691, allocations: 1.746 MB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.9692, allocations: 2.25 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/0.9698, allocations: 197.7 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.97, allocations: 64.34 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.9711, allocations: 426.8 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.9716, allocations: 413.3 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.9716, allocations: 31.89 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.9718, allocations: 158.9 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.972, allocations: 152.7 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.9721, allocations: 26.53 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.9726, allocations: 265.1 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.9727, allocations: 117.4 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.9729, allocations: 134.4 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009331/0.9738, allocations: 0.5953 MB / 1.193 GB, free: 12.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9738, allocations: 0 / 1.193 GB, free: 12.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9738, allocations: 4 kB / 1.193 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.9738, allocations: 1.094 kB / 1.193 GB, free: 12.59 MB / 1.076 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.001186/0.975, allocations: 0.6418 MB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.975, allocations: 10.06 kB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.9771, allocations: 178.4 kB / 1.194 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.9776, allocations: 309.5 kB / 1.194 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.9777, allocations: 129.2 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.9777, allocations: 11.03 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.9788, allocations: 457.3 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9788, allocations: 0 / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.9789, allocations: 1.656 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.9789, allocations: 10.19 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.9806, allocations: 0.6014 MB / 1.195 GB, free: 11.42 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.9824, allocations: 0.9468 MB / 1.196 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00524/0.9877, allocations: 0.861 MB / 1.197 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.9885, allocations: 314.7 kB / 1.197 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.9885, allocations: 2 kB / 1.197 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.9896, allocations: 457 kB / 1.198 GB, free: 10.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.9896, allocations: 0 / 1.198 GB, free: 10.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002725/0.9923, allocations: 0.9538 MB / 1.199 GB, free: 10.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.9923, allocations: 59.95 kB / 1.199 GB, free: 10.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.9928, allocations: 431.8 kB / 1.199 GB, free: 9.996 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.9929, allocations: 34.09 kB / 1.199 GB, free: 9.961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.993, allocations: 166.7 kB / 1.199 GB, free: 9.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.993, allocations: 59.09 kB / 1.199 GB, free: 9.773 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.9932, allocations: 54.77 kB / 1.199 GB, free: 9.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.9932, allocations: 351 kB / 1.2 GB, free: 9.418 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009383/0.9942, allocations: 427.2 kB / 1.2 GB, free: 9.277 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/0.9951, allocations: 421.1 kB / 1.2 GB, free: 9.145 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.9967, allocations: 0.6218 MB / 1.201 GB, free: 8.949 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9967, allocations: 0 / 1.201 GB, free: 8.949 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002116/0.9988, allocations: 0.9616 MB / 1.202 GB, free: 8.621 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.9989, allocations: 45.11 kB / 1.202 GB, free: 8.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9989, allocations: 4.547 kB / 1.202 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.9989, allocations: 1.125 kB / 1.202 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.9994, allocations: 74.64 kB / 1.202 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9994, allocations: 1.062 kB / 1.202 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.9999, allocations: 39.75 kB / 1.202 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/1, allocations: 18.14 kB / 1.202 GB, free: 8.562 MB / 1.076 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.0002543/1, allocations: 194.6 kB / 1.202 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/1, allocations: 37.92 kB / 1.202 GB, free: 8.395 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/1, allocations: 37.34 kB / 1.202 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1, allocations: 1.906 kB / 1.202 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1, allocations: 1.25 kB / 1.202 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1, allocations: 0.75 kB / 1.202 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/1.001, allocations: 450.4 kB / 1.203 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.001, allocations: 1.562 kB / 1.203 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/1.001, allocations: 74.17 kB / 1.203 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.001, allocations: 0 / 1.203 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/1.001, allocations: 7.969 kB / 1.203 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.001, allocations: 2.016 kB / 1.203 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.001, allocations: 0 / 1.203 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.003, allocations: 0.6877 MB / 1.204 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.003, allocations: 86.42 kB / 1.204 GB, free: 7.844 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/1.003, allocations: 8.875 kB / 1.204 GB, free: 7.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/1.004, allocations: 53.62 kB / 1.204 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/1.004, allocations: 18.94 kB / 1.204 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.004, allocations: 11.48 kB / 1.204 GB, free: 7.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003306/1.004, allocations: 321 kB / 1.204 GB, free: 7.668 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 0 / 1.204 GB, free: 7.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004171/1.005, allocations: 86.84 kB / 1.204 GB, free: 7.652 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002111/1.005, allocations: 131.4 kB / 1.204 GB, free: 7.547 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001939/1.007, allocations: 0.8037 MB / 1.205 GB, free: 7.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.007, allocations: 1.188 kB / 1.205 GB, free: 7.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/1.008, allocations: 333 kB / 1.205 GB, free: 7.184 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/1.008, allocations: 77.78 kB / 1.205 GB, free: 7.152 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/1.01, allocations: 0.8351 MB / 1.206 GB, free: 6.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/1.01, allocations: 208.9 kB / 1.206 GB, free: 6.664 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003823/1.011, allocations: 98.02 kB / 1.207 GB, free: 6.641 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.011, allocations: 40.16 kB / 1.207 GB, free: 6.629 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.011, allocations: 4 kB / 1.207 GB, free: 6.625 MB / 1.076 GB Notification: Performance of Templates: time 0.01578/1.027, allocations: 7.721 MB / 1.214 GB, free: 5.719 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.094397613895126]