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.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.001455/0.001455, allocations: 110 kB / 18.93 MB, free: 2.945 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.001565/0.001565, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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 0.002039/0.002039, allocations: 64.62 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5141, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004287/0.5184, allocations: 2.171 MB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.5221, allocations: 1.865 MB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.5222, allocations: 4 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.5231, allocations: 234.7 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.5233, allocations: 63.42 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.5247, allocations: 440.9 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.5254, allocations: 417.8 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.5255, allocations: 16.59 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.5258, allocations: 163.6 kB / 1.313 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.526, allocations: 159.4 kB / 1.313 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.5261, allocations: 28 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.5267, allocations: 275.6 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.5269, allocations: 123.7 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.5271, allocations: 163.2 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000952/0.5281, allocations: 0.5956 MB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5281, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5281, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.5281, allocations: 0 / 1.314 GB, free: 11.07 MB / 1.014 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.001635/0.5297, allocations: 0.6499 MB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.5298, allocations: 12.92 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.5316, allocations: 156.6 kB / 1.315 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.5322, allocations: 316.7 kB / 1.315 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.5324, allocations: 79.94 kB / 1.315 GB, free: 9.801 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.5324, allocations: 8.375 kB / 1.315 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.5335, allocations: 441.4 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5335, allocations: 0 / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.5336, allocations: 4 kB / 1.315 GB, free: 9.352 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5336, allocations: 0 / 1.315 GB, free: 9.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.5354, allocations: 0.5893 MB / 1.316 GB, free: 8.762 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.5376, allocations: 1.022 MB / 1.317 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005131/0.5428, allocations: 0.8338 MB / 1.318 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.5436, allocations: 300.7 kB / 1.318 GB, free: 6.555 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.5436, allocations: 4 kB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.5447, allocations: 450.9 kB / 1.319 GB, free: 6.098 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 3.477e-06/0.5448, allocations: 0 / 1.319 GB, free: 6.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002758/0.5475, allocations: 0.9239 MB / 1.319 GB, free: 5.168 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5476, allocations: 51.41 kB / 1.319 GB, free: 5.105 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.5483, allocations: 433.6 kB / 1.32 GB, free: 4.672 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.5484, allocations: 33.7 kB / 1.32 GB, free: 4.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.5485, allocations: 168.1 kB / 1.32 GB, free: 4.465 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.5486, allocations: 51.58 kB / 1.32 GB, free: 4.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.5488, allocations: 57.67 kB / 1.32 GB, free: 4.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.549, allocations: 350.7 kB / 1.321 GB, free: 4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009696/0.55, allocations: 376.6 kB / 1.321 GB, free: 3.629 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.5509, allocations: 375.7 kB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.5525, allocations: 0.6012 MB / 1.322 GB, free: 2.652 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5525, allocations: 0 / 1.322 GB, free: 2.652 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002184/0.5547, allocations: 0.9031 MB / 1.323 GB, free: 1.738 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.5548, allocations: 45.69 kB / 1.323 GB, free: 1.688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5548, allocations: 0 / 1.323 GB, free: 1.688 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.5548, allocations: 4 kB / 1.323 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.5553, allocations: 63.86 kB / 1.323 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5553, allocations: 0 / 1.323 GB, free: 1.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.5558, allocations: 43.95 kB / 1.323 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.5558, allocations: 15.92 kB / 1.323 GB, free: 1.562 MB / 1.014 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.0003469/0.5562, allocations: 185.8 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.5562, allocations: 35.77 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.055e-05/0.5563, allocations: 43.39 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5563, allocations: 4 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5563, allocations: 0 / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5563, allocations: 4 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.5571, allocations: 0.5157 MB / 1.324 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5571, allocations: 0 / 1.324 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.5576, allocations: 67.84 kB / 1.324 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5576, allocations: 0 / 1.324 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.5576, allocations: 11.98 kB / 1.324 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5576, allocations: 4 kB / 1.324 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5576, allocations: 0 / 1.324 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.5594, allocations: 0.6596 MB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.5596, allocations: 95.66 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.5597, allocations: 11.94 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.5602, allocations: 43.94 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.5603, allocations: 19.91 kB / 1.325 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.5603, allocations: 15.98 kB / 1.325 GB, free: 15.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004008/0.5607, allocations: 323 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5607, allocations: 0 / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004101/0.5611, allocations: 75.94 kB / 1.325 GB, free: 15.4 MB / 1.029 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.0003533/0.5615, allocations: 136 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.5635, allocations: 0.7489 MB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5635, allocations: 0 / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.5644, allocations: 315.7 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.5649, allocations: 73.38 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5669, allocations: 0.8355 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.5674, allocations: 0.8143 MB / 1.328 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003663/0.5677, allocations: 102.2 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5679, allocations: 39.41 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/0.5679, allocations: 0 / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Templates: time 0.01509/0.583, allocations: 7.274 MB / 1.335 GB, free: 5.074 MB / 1.029 GB " [Timeout remaining time 299] 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: 10.171415084972978]