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.001988/0.001988, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002308/0.002308, allocations: 198.7 kB / 22.17 MB, free: 5.207 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.546/1.546, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.79/2.79, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.001959/0.001959, allocations: 63.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003889/1.145, allocations: 2.164 MB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003309/1.148, allocations: 1.869 MB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/1.148, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008598/1.149, allocations: 221.4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/1.149, allocations: 71.41 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/1.151, allocations: 426.5 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006119/1.151, allocations: 410.7 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/1.151, allocations: 28.33 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/1.152, allocations: 155.6 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/1.152, allocations: 163.4 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/1.152, allocations: 28 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/1.152, allocations: 243.7 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/1.152, allocations: 115.7 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/1.153, allocations: 171 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008145/1.153, allocations: 0.5918 MB / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.153, allocations: 4 kB / 1.281 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/1.153, allocations: 0 / 1.281 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.153, allocations: 0 / 1.281 GB, free: 13.91 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.001449/1.155, allocations: 0.7214 MB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.155, allocations: 8.031 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/1.157, allocations: 156.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/1.157, allocations: 378.5 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/1.157, allocations: 71.95 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/1.157, allocations: 12.38 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/1.159, allocations: 443.2 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.159, allocations: 4 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/1.159, allocations: 4 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/1.159, allocations: 4 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.16, allocations: 0.5854 MB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.162, allocations: 1.054 MB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00511/1.168, allocations: 0.8338 MB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008573/1.168, allocations: 300.7 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/1.168, allocations: 4 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/1.17, allocations: 443 kB / 1.285 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/1.17, allocations: 4 kB / 1.285 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002753/1.172, allocations: 0.9177 MB / 1.286 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/1.172, allocations: 59.41 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/1.173, allocations: 433.6 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/1.173, allocations: 33.7 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.173, allocations: 164.1 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/1.173, allocations: 55.53 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.173, allocations: 53.67 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.174, allocations: 354.7 kB / 1.287 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009426/1.174, allocations: 380.6 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/1.175, allocations: 371.7 kB / 1.288 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.177, allocations: 0.598 MB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.177, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002397/1.179, allocations: 0.9087 MB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/1.18, allocations: 39.72 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.18, allocations: 0 / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.18, allocations: 0 / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.18, allocations: 71.86 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.18, allocations: 0 / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/1.181, allocations: 39.95 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/1.181, allocations: 19.92 kB / 1.29 GB, free: 4.207 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.0003557/1.181, allocations: 187.3 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/1.181, allocations: 35.77 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/1.181, allocations: 43.39 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.181, allocations: 4 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.181, allocations: 3.938 kB / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.181, allocations: 0 / 1.29 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/1.182, allocations: 0.5555 MB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.182, allocations: 0 / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/1.182, allocations: 67.91 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.182, allocations: 0 / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/1.182, allocations: 7.984 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.182, allocations: 3.938 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.182, allocations: 4 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.184, allocations: 0.6682 MB / 1.291 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/1.184, allocations: 160.8 kB / 1.291 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/1.185, allocations: 8 kB / 1.291 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/1.185, allocations: 47.94 kB / 1.291 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/1.185, allocations: 19.97 kB / 1.291 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/1.185, allocations: 11.98 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003985/1.186, allocations: 315.1 kB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.186, allocations: 4 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000396/1.186, allocations: 83.92 kB / 1.292 GB, free: 1.902 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.0003307/1.186, allocations: 131.7 kB / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001962/1.188, allocations: 0.7488 MB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.188, allocations: 0 / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/1.189, allocations: 322 kB / 1.293 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/1.19, allocations: 81.39 kB / 1.293 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.192, allocations: 0.8273 MB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/1.192, allocations: 0.8103 MB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003615/1.192, allocations: 106.2 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.193, allocations: 35.41 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/1.193, allocations: 4 kB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.01401/1.207, allocations: 7.237 MB / 1.302 GB, free: 7.605 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.497100316919386]