Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002128/0.002128, allocations: 110 kB / 18.93 MB, free: 2.945 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.00266/0.00266, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.669/1.669, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.91/2.91, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 55.91 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 168.8 MB / 1.274 GB, free: 4.141 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004034/1.208, allocations: 2.164 MB / 1.276 GB, free: 1.969 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.003239/1.211, allocations: 1.869 MB / 1.278 GB, free: 92 kB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/1.211, allocations: 4 kB / 1.278 GB, free: 88 kB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007475/1.212, allocations: 230.4 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.000141/1.212, allocations: 63.42 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001095/1.213, allocations: 419.1 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.0005739/1.214, allocations: 421.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/1.214, allocations: 24.58 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/1.214, allocations: 159.6 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/1.215, allocations: 159.4 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 6.266e-05/1.215, allocations: 27.94 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/1.215, allocations: 287.6 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.215, allocations: 115.7 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.000204/1.216, allocations: 171.1 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007858/1.216, allocations: 0.5904 MB / 1.281 GB, free: 13.47 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/1.216, allocations: 7.922 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.322e-06/1.216, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 1.69e-05/1.216, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 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.001469/1.218, allocations: 0.6461 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.218, allocations: 12.03 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/1.22, allocations: 156.6 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/1.22, allocations: 308.8 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.22, allocations: 79.94 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/1.22, allocations: 12.38 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/1.222, allocations: 437.4 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.222, allocations: 0 / 1.282 GB, free: 11.75 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/1.222, allocations: 7.984 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/1.222, allocations: 8 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/1.223, allocations: 0.5815 MB / 1.283 GB, free: 11.15 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/1.225, allocations: 1.03 MB / 1.284 GB, free: 10.08 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005225/1.231, allocations: 0.8378 MB / 1.285 GB, free: 9.23 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/1.232, allocations: 296.7 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/1.232, allocations: 4 kB / 1.285 GB, free: 8.934 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/1.233, allocations: 447 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.943e-06/1.233, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.002734/1.235, allocations: 0.9251 MB / 1.286 GB, free: 7.555 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.235, allocations: 51.41 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/1.236, allocations: 433.6 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 6.332e-05/1.236, allocations: 33.7 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001769/1.236, allocations: 164.1 kB / 1.287 GB, free: 6.855 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/1.236, allocations: 59.52 kB / 1.287 GB, free: 6.797 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.237, allocations: 53.69 kB / 1.287 GB, free: 6.738 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0002156/1.237, allocations: 350.7 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/1.238, allocations: 384.6 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/1.239, allocations: 374 kB / 1.288 GB, free: 5.645 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.24, allocations: 0.5921 MB / 1.289 GB, free: 5.043 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.24, allocations: 4 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.002216/1.242, allocations: 0.8986 MB / 1.29 GB, free: 4.129 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/1.243, allocations: 45.69 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.243, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.243, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/1.243, allocations: 71.8 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.243, allocations: 0 / 1.29 GB, free: 4.008 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/1.243, allocations: 43.89 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/1.244, allocations: 23.91 kB / 1.29 GB, free: 3.941 MB / 0.9825 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.0003074/1.244, allocations: 190.6 kB / 1.29 GB, free: 3.75 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/1.244, allocations: 39.75 kB / 1.29 GB, free: 3.711 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/1.244, allocations: 35.41 kB / 1.29 GB, free: 3.676 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.244, allocations: 8 kB / 1.29 GB, free: 3.668 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.244, allocations: 0 / 1.29 GB, free: 3.668 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.244, allocations: 0 / 1.29 GB, free: 3.668 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/1.245, allocations: 0.5234 MB / 1.291 GB, free: 3.102 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.245, allocations: 0 / 1.291 GB, free: 3.102 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/1.245, allocations: 67.86 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.245, allocations: 0 / 1.291 GB, free: 3.035 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.245, allocations: 11.98 kB / 1.291 GB, free: 3.023 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.245, allocations: 0 / 1.291 GB, free: 3.023 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.245, allocations: 0 / 1.291 GB, free: 3.023 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.247, allocations: 0.6605 MB / 1.291 GB, free: 2.344 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/1.247, allocations: 95.72 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/1.247, allocations: 4 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/1.248, allocations: 51.94 kB / 1.292 GB, free: 2.195 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/1.248, allocations: 15.97 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/1.248, allocations: 11.98 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.000393/1.248, allocations: 327 kB / 1.292 GB, free: 1.852 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.248, allocations: 0 / 1.292 GB, free: 1.852 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003795/1.249, allocations: 79.94 kB / 1.292 GB, free: 1.773 MB / 0.9825 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.0002866/1.249, allocations: 135.1 kB / 1.292 GB, free: 1.629 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.002018/1.251, allocations: 0.7526 MB / 1.293 GB, free: 0.8633 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.251, allocations: 4 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008629/1.252, allocations: 319.7 kB / 1.293 GB, free: 0.5469 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/1.252, allocations: 78.28 kB / 1.293 GB, free: 488 kB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/1.254, allocations: 0.8251 MB / 1.294 GB, free: 15.62 MB / 0.9981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/1.255, allocations: 0.8183 MB / 1.295 GB, free: 14.78 MB / 0.9981 GB
Notification: Performance of simCode: alias equations: time 0.0003667/1.255, allocations: 102.2 kB / 1.295 GB, free: 14.68 MB / 0.9981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.255, allocations: 31.41 kB / 1.295 GB, free: 14.65 MB / 0.9981 GB
Notification: Performance of SimCode: time 3.21e-07/1.255, allocations: 0 / 1.295 GB, free: 14.65 MB / 0.9981 GB
Notification: Performance of Templates: time 0.01461/1.27, allocations: 7.284 MB / 1.302 GB, free: 7.43 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.328452554531395]