Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 107.3 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 199.3 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.61 kB / 0.8986 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3899, allocations: 157.4 MB / 1.052 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003982/0.3939, allocations: 2.199 MB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002774/0.3967, allocations: 1.83 MB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3969, allocations: 0 / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.3976, allocations: 223.1 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.3979, allocations: 55.55 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.399, allocations: 389.5 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006897/0.3997, allocations: 413.3 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3998, allocations: 40.39 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.4, allocations: 159.5 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.4003, allocations: 159.4 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-05/0.4004, allocations: 28 kB / 1.058 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.4008, allocations: 239.7 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.401, allocations: 115.7 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.4012, allocations: 163.2 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000738/0.4019, allocations: 0.5998 MB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4019, allocations: 0 / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4019, allocations: 0 / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.402, allocations: 0 / 1.059 GB, free: 2.125 MB / 0.8106 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.00137/0.4033, allocations: 0.7022 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4034, allocations: 12.62 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.4053, allocations: 164.3 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.406, allocations: 366.3 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.4062, allocations: 75.95 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.4063, allocations: 8.312 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4074, allocations: 441.4 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4075, allocations: 0 / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.4075, allocations: 11.98 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4075, allocations: 0 / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.4093, allocations: 0.5855 MB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.4114, allocations: 1.031 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004911/0.4163, allocations: 0.8533 MB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.417, allocations: 304.7 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.417, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/0.418, allocations: 450.9 kB / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.418, allocations: 0 / 1.064 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002466/0.4205, allocations: 0.9207 MB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4206, allocations: 51.41 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.4211, allocations: 437.5 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.4211, allocations: 33.7 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4213, allocations: 172 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.4214, allocations: 51.34 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.4215, allocations: 57.67 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4217, allocations: 346.7 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/0.4225, allocations: 384.5 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.4234, allocations: 373.3 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.4249, allocations: 0.6052 MB / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4249, allocations: 0 / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001939/0.4269, allocations: 0.8968 MB / 1.068 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.427, allocations: 43.09 kB / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.427, allocations: 0 / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.427, allocations: 0 / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.4274, allocations: 67.92 kB / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4275, allocations: 0 / 1.068 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4279, allocations: 43.89 kB / 1.068 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.428, allocations: 19.86 kB / 1.068 GB, free: 8.438 MB / 0.8262 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.0002551/0.4283, allocations: 189.8 kB / 1.068 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.4283, allocations: 35.53 kB / 1.068 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.4284, allocations: 43.45 kB / 1.068 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.4284, allocations: 4 kB / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4284, allocations: 0 / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4285, allocations: 0 / 1.068 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.429, allocations: 0.5361 MB / 1.069 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.429, allocations: 0 / 1.069 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.4295, allocations: 71.84 kB / 1.069 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4295, allocations: 0 / 1.069 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4296, allocations: 7.984 kB / 1.069 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4296, allocations: 0 / 1.069 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4296, allocations: 4 kB / 1.069 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.4312, allocations: 0.6642 MB / 1.069 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.4315, allocations: 168.6 kB / 1.07 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.4315, allocations: 8 kB / 1.07 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.432, allocations: 47.88 kB / 1.07 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.4321, allocations: 19.97 kB / 1.07 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.4321, allocations: 11.98 kB / 1.07 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003418/0.4324, allocations: 327 kB / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4325, allocations: 3.938 kB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003951/0.4329, allocations: 80.25 kB / 1.07 GB, free: 6.137 MB / 0.8262 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.000286/0.4331, allocations: 141.7 kB / 1.07 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.435, allocations: 0.7684 MB / 1.071 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.435, allocations: 0 / 1.071 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.4358, allocations: 327.7 kB / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.4363, allocations: 73.5 kB / 1.071 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.438, allocations: 0.8939 MB / 1.072 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4384, allocations: 0.8181 MB / 1.073 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.4388, allocations: 98.25 kB / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4389, allocations: 31.42 kB / 1.073 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.4389, allocations: 0 / 1.073 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.0118/0.4507, allocations: 6.944 MB / 1.08 GB, free: 12.06 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches