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.001434/0.001434, allocations: 104.2 kB / 16.4 MB, free: 6.488 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.001417/0.001417, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.525/1.525, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.749 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001943/0.001943, allocations: 71.89 kB / 1.074 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 159.1 MB / 1.229 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003672/1.116, allocations: 2.139 MB / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002987/1.119, allocations: 1.846 MB / 1.233 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/1.119, allocations: 0 / 1.233 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007397/1.12, allocations: 226.4 kB / 1.233 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/1.12, allocations: 71.36 kB / 1.233 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/1.121, allocations: 416.4 kB / 1.234 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005515/1.122, allocations: 414.7 kB / 1.234 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/1.122, allocations: 36.41 kB / 1.234 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/1.122, allocations: 155.6 kB / 1.234 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/1.123, allocations: 163.3 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/1.123, allocations: 28 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/1.123, allocations: 239.7 kB / 1.235 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/1.123, allocations: 111.7 kB / 1.235 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/1.123, allocations: 167.2 kB / 1.235 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007895/1.124, allocations: 0.5943 MB / 1.236 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.124, allocations: 0 / 1.236 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/1.124, allocations: 4 kB / 1.236 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.074e-06/1.124, allocations: 4 kB / 1.236 GB, free: 14.28 MB / 0.9512 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.001354/1.126, allocations: 0.7136 MB / 1.236 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.126, allocations: 11.97 kB / 1.236 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/1.127, allocations: 156.6 kB / 1.236 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/1.128, allocations: 362.7 kB / 1.237 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.128, allocations: 75.94 kB / 1.237 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/1.128, allocations: 8.375 kB / 1.237 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/1.129, allocations: 443.2 kB / 1.237 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.129, allocations: 7.875 kB / 1.237 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/1.129, allocations: 4 kB / 1.237 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.129, allocations: 11.94 kB / 1.237 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/1.131, allocations: 0.5777 MB / 1.238 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/1.133, allocations: 1.051 MB / 1.239 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004993/1.138, allocations: 0.8494 MB / 1.24 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008229/1.139, allocations: 308.6 kB / 1.24 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/1.139, allocations: 11.98 kB / 1.24 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/1.14, allocations: 439 kB / 1.24 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/1.14, allocations: 0 / 1.24 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002703/1.143, allocations: 0.9226 MB / 1.241 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.143, allocations: 55.41 kB / 1.241 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/1.143, allocations: 429.6 kB / 1.242 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/1.144, allocations: 37.7 kB / 1.242 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/1.144, allocations: 172.1 kB / 1.242 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.923e-05/1.144, allocations: 51.53 kB / 1.242 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.144, allocations: 53.67 kB / 1.242 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.144, allocations: 350.7 kB / 1.242 GB, free: 7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009427/1.145, allocations: 380.6 kB / 1.243 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/1.146, allocations: 371.7 kB / 1.243 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/1.148, allocations: 0.6057 MB / 1.244 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.148, allocations: 0 / 1.244 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002099/1.15, allocations: 0.9048 MB / 1.245 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/1.15, allocations: 37.7 kB / 1.245 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.15, allocations: 0 / 1.245 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.15, allocations: 7.984 kB / 1.245 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/1.15, allocations: 59.92 kB / 1.245 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.15, allocations: 7.984 kB / 1.245 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/1.151, allocations: 35.95 kB / 1.245 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/1.151, allocations: 19.92 kB / 1.245 GB, free: 4.559 MB / 0.9512 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.000269/1.151, allocations: 194.8 kB / 1.245 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/1.151, allocations: 35.77 kB / 1.245 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/1.151, allocations: 43.47 kB / 1.245 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.151, allocations: 0 / 1.245 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.151, allocations: 0 / 1.245 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.151, allocations: 3.984 kB / 1.245 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/1.152, allocations: 0.5438 MB / 1.246 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.152, allocations: 0 / 1.246 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/1.152, allocations: 67.91 kB / 1.246 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.152, allocations: 0 / 1.246 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/1.152, allocations: 11.98 kB / 1.246 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.152, allocations: 0 / 1.246 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.152, allocations: 3.938 kB / 1.246 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.154, allocations: 0.6678 MB / 1.246 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/1.154, allocations: 164.9 kB / 1.246 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/1.154, allocations: 7.984 kB / 1.246 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/1.155, allocations: 43.94 kB / 1.246 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/1.155, allocations: 19.92 kB / 1.247 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/1.155, allocations: 11.98 kB / 1.247 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003782/1.155, allocations: 327 kB / 1.247 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 0 / 1.247 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003703/1.156, allocations: 79.92 kB / 1.247 GB, free: 2.262 MB / 0.9512 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.0003387/1.156, allocations: 140.5 kB / 1.247 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001922/1.158, allocations: 0.7625 MB / 1.248 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.158, allocations: 0 / 1.248 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000863/1.159, allocations: 327.7 kB / 1.248 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/1.159, allocations: 77.44 kB / 1.248 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/1.161, allocations: 0.827 MB / 1.249 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/1.162, allocations: 0.8103 MB / 1.25 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003705/1.162, allocations: 102.2 kB / 1.25 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/1.162, allocations: 35.41 kB / 1.25 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/1.162, allocations: 0 / 1.25 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.01414/1.177, allocations: 7.164 MB / 1.257 GB, free: 8.031 MB / 0.9669 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: 9.545956676825881]