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.001704/0.001704, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001815/0.001815, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.954/2.954, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002366/0.002366, allocations: 63.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003321/1.138, allocations: 2.07 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002442/1.141, allocations: 1.747 MB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/1.141, allocations: 2.312 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/1.142, allocations: 195.5 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/1.142, allocations: 66.09 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/1.143, allocations: 418.9 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/1.143, allocations: 417 kB / 1.159 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/1.143, allocations: 28.12 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/1.143, allocations: 155.7 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/1.143, allocations: 157.2 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/1.143, allocations: 28.38 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/1.144, allocations: 259.2 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/1.144, allocations: 123 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/1.144, allocations: 130.2 kB / 1.16 GB, free: 29.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/1.145, allocations: 0.6007 MB / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.145, allocations: 0 / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.145, allocations: 0 / 1.16 GB, free: 29.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.145, allocations: 3.938 kB / 1.16 GB, free: 29.77 MB / 1.076 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.001085/1.146, allocations: 0.641 MB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.146, allocations: 9.312 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.148, allocations: 166.8 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/1.148, allocations: 315.5 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.148, allocations: 128.4 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/1.148, allocations: 6.125 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/1.149, allocations: 446.6 kB / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.149, allocations: 0 / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/1.149, allocations: 0 / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.149, allocations: 6.625 kB / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/1.151, allocations: 0.5824 MB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/1.152, allocations: 0.9183 MB / 1.163 GB, free: 28.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/1.157, allocations: 0.8378 MB / 1.164 GB, free: 28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/1.158, allocations: 305.5 kB / 1.164 GB, free: 27.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/1.158, allocations: 6.609 kB / 1.164 GB, free: 27.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009313/1.159, allocations: 444.6 kB / 1.165 GB, free: 27.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/1.159, allocations: 0 / 1.165 GB, free: 27.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.00237/1.161, allocations: 0.9201 MB / 1.166 GB, free: 27.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.161, allocations: 61.61 kB / 1.166 GB, free: 27.42 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/1.162, allocations: 432.3 kB / 1.166 GB, free: 27.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/1.162, allocations: 32.45 kB / 1.166 GB, free: 27.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.162, allocations: 167.9 kB / 1.166 GB, free: 27.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/1.162, allocations: 54.52 kB / 1.166 GB, free: 27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.162, allocations: 50.58 kB / 1.166 GB, free: 26.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.162, allocations: 350.3 kB / 1.167 GB, free: 26.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/1.163, allocations: 421.7 kB / 1.167 GB, free: 26.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/1.164, allocations: 408.1 kB / 1.168 GB, free: 26.37 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.165, allocations: 0.6008 MB / 1.168 GB, free: 26.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.165, allocations: 0 / 1.168 GB, free: 26.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002334/1.167, allocations: 0.9407 MB / 1.169 GB, free: 25.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/1.167, allocations: 39.17 kB / 1.169 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.167, allocations: 0.5312 kB / 1.169 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.167, allocations: 0.625 kB / 1.169 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/1.168, allocations: 68.92 kB / 1.169 GB, free: 25.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.168, allocations: 0.5938 kB / 1.169 GB, free: 25.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/1.168, allocations: 50.7 kB / 1.169 GB, free: 25.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/1.168, allocations: 11.22 kB / 1.169 GB, free: 25.81 MB / 1.076 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.0002554/1.169, allocations: 201.7 kB / 1.169 GB, free: 25.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/1.169, allocations: 36.3 kB / 1.169 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/1.169, allocations: 43.34 kB / 1.169 GB, free: 25.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.169, allocations: 1.719 kB / 1.169 GB, free: 25.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.169, allocations: 0.5312 kB / 1.17 GB, free: 25.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.169, allocations: 0.5625 kB / 1.17 GB, free: 25.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/1.169, allocations: 430.6 kB / 1.17 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.169, allocations: 1.094 kB / 1.17 GB, free: 25.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000463/1.17, allocations: 66.39 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.17, allocations: 0 / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/1.17, allocations: 10.45 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.17, allocations: 0.9688 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.17, allocations: 4 kB / 1.17 GB, free: 25.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/1.172, allocations: 0.6642 MB / 1.171 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/1.172, allocations: 91.73 kB / 1.171 GB, free: 25.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/1.172, allocations: 7.781 kB / 1.171 GB, free: 25.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/1.172, allocations: 45.25 kB / 1.171 GB, free: 25.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/1.172, allocations: 24.77 kB / 1.171 GB, free: 25.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/1.172, allocations: 9.203 kB / 1.171 GB, free: 25.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003688/1.173, allocations: 314.8 kB / 1.171 GB, free: 24.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.173, allocations: 1.062 kB / 1.171 GB, free: 24.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004182/1.173, allocations: 85.09 kB / 1.171 GB, free: 24.92 MB / 1.076 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.000281/1.174, allocations: 136.7 kB / 1.171 GB, free: 24.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001872/1.175, allocations: 0.793 MB / 1.172 GB, free: 24.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.175, allocations: 0 / 1.172 GB, free: 24.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008347/1.176, allocations: 321 kB / 1.172 GB, free: 24.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/1.177, allocations: 83.52 kB / 1.172 GB, free: 24.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/1.178, allocations: 0.828 MB / 1.173 GB, free: 24.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/1.179, allocations: 208.8 kB / 1.173 GB, free: 23.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003479/1.179, allocations: 99.98 kB / 1.174 GB, free: 23.89 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.179, allocations: 38.11 kB / 1.174 GB, free: 23.88 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.179, allocations: 0 / 1.174 GB, free: 23.88 MB / 1.076 GB Notification: Performance of Templates: time 0.0181/1.197, allocations: 7.633 MB / 1.181 GB, free: 23.01 MB / 1.076 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 ida -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: 9.880896339076571]