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.001656/0.001656, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.00194/0.00194, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.704/1.704, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.025/3.025, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.68e-05/3.896e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004298/0.004337, allocations: 2.074 MB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.008169, allocations: 1.753 MB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.008355, allocations: 0 / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.009279, allocations: 200.4 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.009556, allocations: 68.75 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.01105, allocations: 427.6 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.01183, allocations: 414.6 kB / 0.8156 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.01197, allocations: 24.58 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.01247, allocations: 203.6 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.0128, allocations: 136.4 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.01291, allocations: 28 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.0136, allocations: 264 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.01384, allocations: 125.3 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.01409, allocations: 107.7 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.01545, allocations: 0.6388 MB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.01546, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01546, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.01547, allocations: 0.6562 kB / 0.8171 GB, free: 11.72 MB / 0.7761 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.002091/0.01757, allocations: 0.6406 MB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.01762, allocations: 12.03 kB / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.01958, allocations: 183.5 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006982/0.02028, allocations: 304 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.02048, allocations: 131.3 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.02054, allocations: 10.44 kB / 0.8183 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.02173, allocations: 419.9 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.02174, allocations: 0.6875 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.02179, allocations: 9.469 kB / 0.8187 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.02179, allocations: 4 kB / 0.8187 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.0236, allocations: 0.5772 MB / 0.8193 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.02608, allocations: 0.8935 MB / 0.8202 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.03137, allocations: 0.8452 MB / 0.821 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.03223, allocations: 300.9 kB / 0.8213 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.03226, allocations: 4 kB / 0.8213 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.03345, allocations: 431 kB / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 4.649e-06/0.03345, allocations: 0 / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.003017/0.03647, allocations: 0.9287 MB / 0.8226 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.03654, allocations: 55.41 kB / 0.8226 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.03735, allocations: 433.6 kB / 0.8231 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.03745, allocations: 33.7 kB / 0.8231 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.03768, allocations: 175.8 kB / 0.8233 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.03778, allocations: 51.58 kB / 0.8233 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.03796, allocations: 53.62 kB / 0.8234 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003352/0.0383, allocations: 350.8 kB / 0.8237 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.03943, allocations: 397.4 kB / 0.8241 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.04048, allocations: 397.6 kB / 0.8245 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.04222, allocations: 0.6061 MB / 0.825 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/0.04223, allocations: 3.938 kB / 0.825 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002397/0.04462, allocations: 0.9339 MB / 0.826 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.0447, allocations: 37.7 kB / 0.826 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.04471, allocations: 0 / 0.826 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.075e-05/0.04475, allocations: 7.984 kB / 0.826 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.04526, allocations: 59.92 kB / 0.8261 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.04528, allocations: 7.984 kB / 0.8261 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.04579, allocations: 51.78 kB / 0.8261 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.04585, allocations: 11.98 kB / 0.8261 GB, free: 2.238 MB / 0.7761 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0004808/0.04633, allocations: 191.6 kB / 0.8263 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.0465, allocations: 43.77 kB / 0.8264 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.04663, allocations: 47.41 kB / 0.8264 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.04663, allocations: 0 / 0.8264 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.04665, allocations: 3.984 kB / 0.8264 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.04665, allocations: 0 / 0.8264 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.04738, allocations: 424.9 kB / 0.8268 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.04738, allocations: 7.938 kB / 0.8268 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.04787, allocations: 75.83 kB / 0.8269 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.04788, allocations: 0 / 0.8269 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.04792, allocations: 7.984 kB / 0.8269 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.04792, allocations: 0 / 0.8269 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.04792, allocations: 0 / 0.8269 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.05025, allocations: 0.6645 MB / 0.8275 GB, free: 0.7305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.05053, allocations: 87.64 kB / 0.8276 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.05061, allocations: 15.98 kB / 0.8276 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.05111, allocations: 35.95 kB / 0.8277 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.05123, allocations: 27.95 kB / 0.8277 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.05127, allocations: 7.984 kB / 0.8277 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005479/0.05182, allocations: 315.1 kB / 0.828 GB, free: 256 kB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.05182, allocations: 0 / 0.828 GB, free: 256 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004959/0.05231, allocations: 91.92 kB / 0.8281 GB, free: 164 kB / 0.7761 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0004056/0.05272, allocations: 142.2 kB / 0.8282 GB, free: 16 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.05494, allocations: 0.7807 MB / 0.829 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.05494, allocations: 0 / 0.829 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.05584, allocations: 315.8 kB / 0.8293 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.05639, allocations: 101.3 kB / 0.8294 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.0586, allocations: 0.7979 MB / 0.8302 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.05889, allocations: 206.1 kB / 0.8304 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004162/0.05931, allocations: 102.2 kB / 0.8305 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.05948, allocations: 40.47 kB / 0.8305 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of SimCode: time 1.523e-06/0.05948, allocations: 0 / 0.8305 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of Templates: time 0.01825/0.07773, allocations: 7.604 MB / 0.8379 GB, free: 6.133 MB / 0.7917 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.911651461967267]