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.001768/0.001768, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002047/0.002047, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.697/1.697, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.585/3.585, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002605/0.002605, allocations: 72.11 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5374, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004261/0.5416, allocations: 2.07 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.5449, allocations: 1.741 MB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.545, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.5458, allocations: 198.8 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.546, allocations: 67.36 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.5473, allocations: 434.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.5479, allocations: 414.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.5481, allocations: 24.58 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.5483, allocations: 163.5 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.5486, allocations: 163.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.5486, allocations: 24 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.5491, allocations: 275.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.5493, allocations: 111.7 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.5495, allocations: 139.3 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008293/0.5503, allocations: 0.5918 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5503, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5503, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.5504, allocations: 4 kB / 1.333 GB, free: 10.56 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.001431/0.5518, allocations: 0.6421 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5518, allocations: 8.031 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.5535, allocations: 172.5 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.5541, allocations: 308.8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5542, allocations: 131.3 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.5543, allocations: 8.375 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5554, allocations: 441.3 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.5554, allocations: 7.922 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.5554, allocations: 8 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5554, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.5571, allocations: 0.5777 MB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.5591, allocations: 0.9137 MB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/0.5638, allocations: 0.8446 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.5645, allocations: 304.7 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.5646, allocations: 0 / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.5656, allocations: 443.3 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 3.065e-06/0.5656, allocations: 0 / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002643/0.5683, allocations: 0.9204 MB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.5683, allocations: 55.41 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.5689, allocations: 441.6 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.569, allocations: 29.7 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.5692, allocations: 172.1 kB / 1.34 GB, free: 4.004 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.5693, allocations: 47.62 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5694, allocations: 57.67 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.5696, allocations: 350.7 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/0.5706, allocations: 422.2 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.5715, allocations: 419 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.573, allocations: 0.6017 MB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.573, allocations: 0 / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002094/0.5751, allocations: 0.9377 MB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.5752, allocations: 41.69 kB / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5752, allocations: 0 / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.5752, allocations: 0 / 1.342 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.5757, allocations: 67.92 kB / 1.342 GB, free: 1.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5757, allocations: 3.984 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.5761, allocations: 35.91 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.5762, allocations: 15.98 kB / 1.342 GB, free: 0.9727 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.0003408/0.5765, allocations: 199.5 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.5766, allocations: 35.77 kB / 1.343 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.5767, allocations: 39.41 kB / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5767, allocations: 0 / 1.343 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.5767, allocations: 4 kB / 1.343 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5767, allocations: 7.938 kB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.5773, allocations: 444.7 kB / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5773, allocations: 0 / 1.343 GB, free: 224 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.5777, allocations: 63.92 kB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5777, allocations: 0 / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.5777, allocations: 11.98 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5777, allocations: 3.984 kB / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5777, allocations: 0 / 1.343 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.5794, allocations: 0.6589 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.5797, allocations: 95.64 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.5798, allocations: 7.984 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.5802, allocations: 47.94 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.5803, allocations: 19.97 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.5803, allocations: 11.97 kB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003893/0.5807, allocations: 323.1 kB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5807, allocations: 0 / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004048/0.5811, allocations: 79.94 kB / 1.344 GB, free: 14.89 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.0002935/0.5814, allocations: 131.1 kB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.5833, allocations: 0.7794 MB / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5833, allocations: 0 / 1.345 GB, free: 13.95 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.5841, allocations: 327.6 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5846, allocations: 78.36 kB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.5865, allocations: 0.8276 MB / 1.346 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.5868, allocations: 213.8 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.5871, allocations: 98.23 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5872, allocations: 31.41 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of SimCode: time 1.272e-06/0.5872, allocations: 4 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of Templates: time 0.01561/0.6028, allocations: 7.992 MB / 1.355 GB, free: 4.445 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 -s cvode -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/jenkins1/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: 11.00139696703991]