Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001444/0.001444, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001578/0.001578, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.91 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.377, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003938/0.3809, allocations: 2.167 MB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.3844, allocations: 1.878 MB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3846, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.3854, allocations: 230.7 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3856, allocations: 67.36 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3868, allocations: 430.6 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.3874, allocations: 402.8 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3875, allocations: 20.39 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3877, allocations: 159.6 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3879, allocations: 155.5 kB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.388, allocations: 28 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.3884, allocations: 247.7 kB / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.3886, allocations: 119.6 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3887, allocations: 167.2 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008147/0.3896, allocations: 0.5995 MB / 1.223 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3896, allocations: 0 / 1.223 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3896, allocations: 0 / 1.223 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3896, allocations: 4 kB / 1.223 GB, free: 8.703 MB / 0.9669 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.001422/0.391, allocations: 0.7136 MB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.391, allocations: 12.03 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3928, allocations: 156.5 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.3933, allocations: 378.5 kB / 1.224 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.3934, allocations: 71.95 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.3935, allocations: 12.38 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3945, allocations: 441.4 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3945, allocations: 0 / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.3946, allocations: 4 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.3946, allocations: 8 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3962, allocations: 0.5854 MB / 1.225 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.3982, allocations: 1.046 MB / 1.226 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/0.4031, allocations: 0.8377 MB / 1.227 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.4039, allocations: 296.9 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.4039, allocations: 4 kB / 1.227 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.405, allocations: 451 kB / 1.227 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.405, allocations: 4 kB / 1.227 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002634/0.4076, allocations: 0.9163 MB / 1.228 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.4077, allocations: 55.41 kB / 1.228 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.4083, allocations: 433.6 kB / 1.229 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.4084, allocations: 37.64 kB / 1.229 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4085, allocations: 164.1 kB / 1.229 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/0.4086, allocations: 51.59 kB / 1.229 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.4088, allocations: 57.67 kB / 1.229 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.409, allocations: 346.7 kB / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.4099, allocations: 388.5 kB / 1.23 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/0.4107, allocations: 367.8 kB / 1.23 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.4123, allocations: 0.6015 MB / 1.231 GB, free: 96 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4123, allocations: 0 / 1.231 GB, free: 96 kB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00216/0.4144, allocations: 0.9025 MB / 1.232 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.4145, allocations: 41.69 kB / 1.232 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4145, allocations: 0 / 1.232 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.4145, allocations: 4 kB / 1.232 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.415, allocations: 67.86 kB / 1.232 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.415, allocations: 0 / 1.232 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.4155, allocations: 43.95 kB / 1.232 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.4155, allocations: 19.91 kB / 1.232 GB, free: 15 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.0003882/0.4159, allocations: 187.8 kB / 1.232 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.416, allocations: 39.75 kB / 1.232 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.4161, allocations: 39.47 kB / 1.232 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4161, allocations: 4 kB / 1.232 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4161, allocations: 0 / 1.232 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4161, allocations: 4 kB / 1.232 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.4169, allocations: 0.5479 MB / 1.233 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4169, allocations: 0 / 1.233 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.4173, allocations: 67.8 kB / 1.233 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4173, allocations: 0 / 1.233 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.4174, allocations: 11.98 kB / 1.233 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4174, allocations: 7.938 kB / 1.233 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4174, allocations: 0 / 1.233 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4191, allocations: 0.6489 MB / 1.233 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.4194, allocations: 172.7 kB / 1.233 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.4195, allocations: 4 kB / 1.233 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.4199, allocations: 51.94 kB / 1.234 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.42, allocations: 23.91 kB / 1.234 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.42, allocations: 11.98 kB / 1.234 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004381/0.4205, allocations: 323 kB / 1.234 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4205, allocations: 0 / 1.234 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004111/0.4209, allocations: 79.94 kB / 1.234 GB, free: 12.71 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.0003236/0.4212, allocations: 131.2 kB / 1.234 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.4231, allocations: 0.7544 MB / 1.235 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4231, allocations: 0 / 1.235 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.4239, allocations: 311.7 kB / 1.235 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.4243, allocations: 85.52 kB / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.4262, allocations: 0.827 MB / 1.236 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.4267, allocations: 0.8182 MB / 1.237 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000354/0.4271, allocations: 94.25 kB / 1.237 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4272, allocations: 31.42 kB / 1.237 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of SimCode: time 1.383e-06/0.4272, allocations: 0 / 1.237 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Templates: time 0.0144/0.4416, allocations: 7.251 MB / 1.244 GB, free: 2.414 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.731672725640237]