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.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.001875/0.001875, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002354/0.002354, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.723/1.723, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.117/3.117, allocations: 476 MB / 0.7699 GB, free: 4.762 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.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_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: 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.002196/0.002196, allocations: 73.22 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4789, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005159/0.484, allocations: 2.074 MB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.4879, allocations: 1.737 MB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.4881, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4892, allocations: 202.8 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.4895, allocations: 59.42 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.491, allocations: 438.2 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.4918, allocations: 414.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.492, allocations: 16.59 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.4924, allocations: 163.5 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.4928, allocations: 147.5 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.4929, allocations: 28 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.4936, allocations: 259.6 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.4939, allocations: 119.6 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.4942, allocations: 135.4 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.4954, allocations: 0.5995 MB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.4954, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4954, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.4954, allocations: 3.984 kB / 1.289 GB, free: 5.543 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.001965/0.4974, allocations: 0.6422 MB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4974, allocations: 8.031 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.4993, allocations: 164.5 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/0.5, allocations: 320.7 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.5002, allocations: 131.3 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.5002, allocations: 12.38 kB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5014, allocations: 441.3 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5014, allocations: 3.984 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.5014, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.5014, allocations: 4 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.5032, allocations: 0.5816 MB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.5054, allocations: 0.929 MB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.5105, allocations: 0.8377 MB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.5113, allocations: 300.6 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.5114, allocations: 4 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.5125, allocations: 445.1 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.5125, allocations: 0 / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002786/0.5152, allocations: 0.9226 MB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.5153, allocations: 55.41 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.516, allocations: 429.6 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.5161, allocations: 33.7 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5163, allocations: 172.1 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5164, allocations: 55.56 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.5165, allocations: 57.67 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.5168, allocations: 354.7 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009934/0.5178, allocations: 414.3 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.5188, allocations: 411.9 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5204, allocations: 0.5997 MB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5204, allocations: 4 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002202/0.5226, allocations: 0.9402 MB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/0.5227, allocations: 45.69 kB / 1.298 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.5227, allocations: 3.984 kB / 1.298 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5227, allocations: 0 / 1.298 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.5232, allocations: 59.92 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5232, allocations: 0 / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.5236, allocations: 47.91 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.5237, allocations: 19.91 kB / 1.298 GB, free: 11.93 MB / 0.9981 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.0003228/0.524, allocations: 189.7 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.5241, allocations: 35.77 kB / 1.299 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.5242, allocations: 39.41 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5242, allocations: 4 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5242, allocations: 0 / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5242, allocations: 4 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.5248, allocations: 429 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5248, allocations: 0 / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.5253, allocations: 67.86 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5253, allocations: 0 / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.5253, allocations: 7.984 kB / 1.299 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5253, allocations: 4 kB / 1.299 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5253, allocations: 4 kB / 1.299 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5271, allocations: 0.6669 MB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.5274, allocations: 95.62 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.5275, allocations: 4 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.5279, allocations: 47.94 kB / 1.3 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.528, allocations: 19.95 kB / 1.3 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.5281, allocations: 15.98 kB / 1.3 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004613/0.5285, allocations: 311.1 kB / 1.3 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.5285, allocations: 0 / 1.3 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004589/0.529, allocations: 87.92 kB / 1.3 GB, free: 9.875 MB / 0.9981 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.000364/0.5294, allocations: 135.1 kB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.5314, allocations: 0.7817 MB / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5314, allocations: 0 / 1.301 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.5323, allocations: 323.7 kB / 1.302 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.5328, allocations: 85.25 kB / 1.302 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.535, allocations: 0.8239 MB / 1.302 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.5353, allocations: 206 kB / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.5357, allocations: 94.25 kB / 1.303 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.5359, allocations: 39.41 kB / 1.303 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of SimCode: time 2.274e-06/0.5359, allocations: 0 / 1.303 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of Templates: time 0.01766/0.5535, allocations: 7.952 MB / 1.31 GB, free: 15.48 MB / 1.014 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.844761941581964]