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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 190.2 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.528/3.528, allocations: 495.8 MB / 0.783 GB, free: 33.63 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 69.3 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4569, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004329/0.4612, allocations: 2.157 MB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.003429/0.4646, allocations: 1.877 MB / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4647, allocations: 0 / 1.311 GB, free: 13.78 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.4656, allocations: 226.7 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000153/0.4657, allocations: 71.36 kB / 1.311 GB, free: 13.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.4669, allocations: 431.9 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000569/0.4675, allocations: 414.7 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.4676, allocations: 28.58 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.4678, allocations: 151.6 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.4681, allocations: 159.5 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.4682, allocations: 28 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.4687, allocations: 271.6 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4688, allocations: 119.6 kB / 1.312 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.469, allocations: 167.2 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.4698, allocations: 0.5917 MB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4698, allocations: 0 / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of FrontEnd: time 4.028e-06/0.4698, allocations: 3.984 kB / 1.313 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.143e-06/0.4698, allocations: 7.938 kB / 1.313 GB, free: 11.15 MB / 1.014 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.001365/0.4712, allocations: 0.6382 MB / 1.314 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4713, allocations: 12.03 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.473, allocations: 164.6 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4736, allocations: 312.7 kB / 1.314 GB, free: 9.973 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.4737, allocations: 71.95 kB / 1.314 GB, free: 9.891 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.4738, allocations: 12.38 kB / 1.314 GB, free: 9.879 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4749, allocations: 438.8 kB / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4749, allocations: 0 / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.4749, allocations: 0 / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.475, allocations: 11.98 kB / 1.315 GB, free: 9.434 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4767, allocations: 0.5815 MB / 1.315 GB, free: 8.852 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4788, allocations: 1.018 MB / 1.316 GB, free: 7.789 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005245/0.4841, allocations: 0.8377 MB / 1.317 GB, free: 6.941 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.4849, allocations: 304.7 kB / 1.318 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.4849, allocations: 0 / 1.318 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.4861, allocations: 443 kB / 1.318 GB, free: 6.195 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 2.564e-06/0.4861, allocations: 0 / 1.318 GB, free: 6.195 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.002899/0.489, allocations: 0.9194 MB / 1.319 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.489, allocations: 59.41 kB / 1.319 GB, free: 5.199 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.4896, allocations: 433.6 kB / 1.319 GB, free: 4.766 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.4897, allocations: 33.64 kB / 1.319 GB, free: 4.727 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.4899, allocations: 172.1 kB / 1.319 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.4899, allocations: 51.59 kB / 1.32 GB, free: 4.504 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.4901, allocations: 49.67 kB / 1.32 GB, free: 4.449 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002084/0.4903, allocations: 354.7 kB / 1.32 GB, free: 4.094 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/0.4913, allocations: 376.6 kB / 1.32 GB, free: 3.723 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.4922, allocations: 375.7 kB / 1.321 GB, free: 3.355 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.4939, allocations: 0.6018 MB / 1.321 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4939, allocations: 0 / 1.321 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.002234/0.4961, allocations: 0.9108 MB / 1.322 GB, free: 1.824 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.4962, allocations: 41.69 kB / 1.322 GB, free: 1.777 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4962, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.4962, allocations: 0 / 1.322 GB, free: 1.777 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.4967, allocations: 71.86 kB / 1.322 GB, free: 1.707 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4967, allocations: 0 / 1.322 GB, free: 1.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.4971, allocations: 31.95 kB / 1.322 GB, free: 1.676 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.4972, allocations: 23.91 kB / 1.322 GB, free: 1.652 MB / 1.014 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.0002951/0.4975, allocations: 185.8 kB / 1.322 GB, free: 1.461 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.4976, allocations: 35.77 kB / 1.323 GB, free: 1.426 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.4976, allocations: 43.39 kB / 1.323 GB, free: 1.383 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4976, allocations: 0 / 1.323 GB, free: 1.383 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4976, allocations: 7.938 kB / 1.323 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4977, allocations: 0 / 1.323 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.4983, allocations: 0.5235 MB / 1.323 GB, free: 0.8086 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4983, allocations: 0 / 1.323 GB, free: 0.8086 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.4988, allocations: 71.8 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4988, allocations: 4 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.4988, allocations: 7.984 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4988, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4988, allocations: 0 / 1.323 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5006, allocations: 0.6587 MB / 1.324 GB, free: 52 kB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.5009, allocations: 91.67 kB / 1.324 GB, free: 15.96 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.5009, allocations: 8 kB / 1.324 GB, free: 15.95 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.5014, allocations: 47.94 kB / 1.324 GB, free: 15.91 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.5015, allocations: 15.97 kB / 1.324 GB, free: 15.89 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.5015, allocations: 11.98 kB / 1.324 GB, free: 15.88 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004152/0.5019, allocations: 331 kB / 1.324 GB, free: 15.56 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.5019, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0003981/0.5023, allocations: 79.94 kB / 1.324 GB, free: 15.48 MB / 1.029 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.0002941/0.5026, allocations: 128 kB / 1.324 GB, free: 15.35 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.002024/0.5046, allocations: 0.7489 MB / 1.325 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5046, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009044/0.5055, allocations: 323.7 kB / 1.326 GB, free: 14.27 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.506, allocations: 85.3 kB / 1.326 GB, free: 14.18 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.508, allocations: 0.8383 MB / 1.326 GB, free: 13.32 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.5086, allocations: 0.8102 MB / 1.327 GB, free: 12.48 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0003681/0.509, allocations: 98.25 kB / 1.327 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5091, allocations: 35.41 kB / 1.327 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of SimCode: time 1.203e-06/0.5091, allocations: 0 / 1.327 GB, free: 12.36 MB / 1.029 GB
Notification: Performance of Templates: time 0.01735/0.5265, allocations: 7.273 MB / 1.334 GB, free: 5.156 MB / 1.029 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.399024289101362]