Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001751/0.001751, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003016/0.003016, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.731/1.731, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.58/3.58, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002171/0.002171, allocations: 71.02 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5215, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005728/0.5273, allocations: 2.076 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.5316, allocations: 1.741 MB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.5319, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5329, allocations: 202.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.5332, allocations: 67.41 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.5348, allocations: 425.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008697/0.5357, allocations: 414.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.5358, allocations: 28.58 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.5362, allocations: 151.6 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.5366, allocations: 155.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.5367, allocations: 28 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006729/0.5374, allocations: 259.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.5376, allocations: 119.6 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.5378, allocations: 131.4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.5388, allocations: 0.5995 MB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5389, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5389, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5389, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 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.001511/0.5404, allocations: 0.6383 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.5404, allocations: 16.02 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.5422, allocations: 164.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.5428, allocations: 312.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.543, allocations: 131.3 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.5431, allocations: 12.38 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5442, allocations: 441.3 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5442, allocations: 3.938 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.5442, allocations: 4 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5442, allocations: 4 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5462, allocations: 0.5794 MB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.5485, allocations: 0.9136 MB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005025/0.5535, allocations: 0.8377 MB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.5545, allocations: 304.6 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.5545, allocations: 0 / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.5557, allocations: 443.2 kB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.5557, allocations: 0 / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002909/0.5586, allocations: 0.9245 MB / 1.337 GB, free: 5.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.5587, allocations: 55.41 kB / 1.337 GB, free: 5.566 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.5596, allocations: 433.6 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.5597, allocations: 29.7 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.5599, allocations: 180.1 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.5599, allocations: 43.64 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.5601, allocations: 53.67 kB / 1.338 GB, free: 4.812 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000348/0.5605, allocations: 350.7 kB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.5616, allocations: 422.2 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.5625, allocations: 417.5 kB / 1.339 GB, free: 3.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.5643, allocations: 0.6047 MB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5643, allocations: 0 / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002394/0.5667, allocations: 0.9315 MB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.5667, allocations: 41.69 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.5668, allocations: 0 / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.5668, allocations: 0 / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.5673, allocations: 71.84 kB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.5673, allocations: 4 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.5677, allocations: 39.91 kB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.5678, allocations: 19.97 kB / 1.341 GB, free: 1.883 MB / 1.029 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.0004902/0.5683, allocations: 190.2 kB / 1.341 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/0.5683, allocations: 35.77 kB / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.5684, allocations: 35.41 kB / 1.341 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.5684, allocations: 8 kB / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5685, allocations: 0 / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5685, allocations: 7.984 kB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.5693, allocations: 448.6 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5693, allocations: 0 / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.5697, allocations: 67.84 kB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5697, allocations: 4 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.5697, allocations: 11.98 kB / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5697, allocations: 0 / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5697, allocations: 0 / 1.342 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5716, allocations: 0.6606 MB / 1.342 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.5718, allocations: 87.64 kB / 1.342 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.5719, allocations: 7.984 kB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.5725, allocations: 47.94 kB / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.5726, allocations: 23.91 kB / 1.342 GB, free: 212 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.5726, allocations: 15.92 kB / 1.342 GB, free: 196 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004187/0.573, allocations: 323 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.573, allocations: 0 / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004218/0.5734, allocations: 79.94 kB / 1.343 GB, free: 15.8 MB / 1.045 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.0003722/0.5738, allocations: 130.4 kB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.5762, allocations: 0.7857 MB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5762, allocations: 4 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.5771, allocations: 315.7 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.5776, allocations: 91.12 kB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5797, allocations: 0.8237 MB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.58, allocations: 205.9 kB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.5803, allocations: 102.2 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.5805, allocations: 35.41 kB / 1.345 GB, free: 13.25 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.5805, allocations: 0 / 1.345 GB, free: 13.25 MB / 1.045 GB Notification: Performance of Templates: time 0.01669/0.5972, allocations: 7.956 MB / 1.353 GB, free: 5.395 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.940384460613132]