Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.0008556/0.0008556, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008316/0.0008316, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9019/0.9019, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.789/1.789, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.561e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.4924/0.4925, allocations: 48.89 MB / 1.049 GB, free: 51.81 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008814/0.5013, allocations: 10.68 MB / 1.059 GB, free: 51.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.502, allocations: 80.47 kB / 1.059 GB, free: 51.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5031, allocations: 0.7679 MB / 1.06 GB, free: 51.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002575/0.5057, allocations: 2.364 MB / 1.062 GB, free: 51.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.5073, allocations: 1.444 MB / 1.064 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.5092, allocations: 4.001 MB / 1.068 GB, free: 48.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007313/0.51, allocations: 0.9622 MB / 1.068 GB, free: 48.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.5122, allocations: 2.157 MB / 1.071 GB, free: 47.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.513, allocations: 0.9392 MB / 1.071 GB, free: 47.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.5131, allocations: 138.8 kB / 1.072 GB, free: 47.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.5144, allocations: 0.8822 MB / 1.072 GB, free: 47.2 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.5146, allocations: 467.5 kB / 1.073 GB, free: 46.96 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.5151, allocations: 0.5677 MB / 1.073 GB, free: 46.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.5171, allocations: 2.624 MB / 1.076 GB, free: 45.93 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5171, allocations: 0 / 1.076 GB, free: 45.93 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5171, allocations: 2.906 kB / 1.076 GB, free: 45.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5171, allocations: 0 / 1.076 GB, free: 45.93 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002109/0.5192, allocations: 1.973 MB / 1.078 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5193, allocations: 11.22 kB / 1.078 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.5208, allocations: 0.576 MB / 1.079 GB, free: 44.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.5222, allocations: 1.357 MB / 1.08 GB, free: 43.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.5223, allocations: 154.4 kB / 1.08 GB, free: 43.76 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5224, allocations: 95.56 kB / 1.08 GB, free: 43.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.524, allocations: 1.502 MB / 1.082 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.524, allocations: 9.016 kB / 1.082 GB, free: 43.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.5241, allocations: 36.09 kB / 1.082 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.5241, allocations: 24.34 kB / 1.082 GB, free: 42.99 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.526, allocations: 1.421 MB / 1.083 GB, free: 42.57 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.5306, allocations: 4.152 MB / 1.087 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.5323, allocations: 1.033 MB / 1.088 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009185/0.5332, allocations: 0.5739 MB / 1.089 GB, free: 39.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.5334, allocations: 97.69 kB / 1.089 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.5346, allocations: 0.8272 MB / 1.09 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.5346, allocations: 0 / 1.09 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=60): time 0.003021/0.5376, allocations: 1.74 MB / 1.091 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5376, allocations: 59.58 kB / 1.091 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5389, allocations: 1.222 MB / 1.092 GB, free: 38.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.5389, allocations: 42.02 kB / 1.093 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.5393, allocations: 0.66 MB / 1.093 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.5394, allocations: 212.3 kB / 1.093 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.5396, allocations: 167.5 kB / 1.094 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.5397, allocations: 333.7 kB / 1.094 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009389/0.5406, allocations: 0.5507 MB / 1.094 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5417, allocations: 1.011 MB / 1.095 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5435, allocations: 1.194 MB / 1.097 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5435, allocations: 7.625 kB / 1.097 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002238/0.5458, allocations: 1.425 MB / 1.098 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5458, allocations: 7.297 kB / 1.098 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5458, allocations: 5.562 kB / 1.098 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.5458, allocations: 8.438 kB / 1.098 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.5465, allocations: 247.9 kB / 1.098 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.5465, allocations: 19.58 kB / 1.098 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.5471, allocations: 160.5 kB / 1.098 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.5472, allocations: 43.02 kB / 1.098 GB, free: 35.23 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * 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.0003628/0.5476, allocations: 355.8 kB / 1.099 GB, free: 34.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.5477, allocations: 140.2 kB / 1.099 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.55, allocations: 1.402 MB / 1.1 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.55, allocations: 8 kB / 1.1 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.55, allocations: 0.7031 kB / 1.1 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/0.5519, allocations: 1.277 MB / 1.102 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.5553, allocations: 2.61 MB / 1.104 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5553, allocations: 2.031 kB / 1.104 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.5559, allocations: 211.9 kB / 1.104 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5559, allocations: 5.688 kB / 1.104 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.5559, allocations: 23.58 kB / 1.104 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.556, allocations: 5.156 kB / 1.104 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.556, allocations: 6.094 kB / 1.104 GB, free: 32.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.559, allocations: 2.22 MB / 1.106 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.5594, allocations: 258.7 kB / 1.107 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.5595, allocations: 22.06 kB / 1.107 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.56, allocations: 110.4 kB / 1.107 GB, free: 31.81 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.5602, allocations: 50.84 kB / 1.107 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.5602, allocations: 35.53 kB / 1.107 GB, free: 31.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000855/0.5611, allocations: 0.8384 MB / 1.108 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5611, allocations: 0 / 1.108 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001076/0.5622, allocations: 482 kB / 1.108 GB, free: 31.35 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.0007927/0.563, allocations: 449.7 kB / 1.109 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.5651, allocations: 1.249 MB / 1.11 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5651, allocations: 1.312 kB / 1.11 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5661, allocations: 0.6362 MB / 1.11 GB, free: 30.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.5675, allocations: 0.5417 MB / 1.111 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.5705, allocations: 2.639 MB / 1.114 GB, free: 29.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.5711, allocations: 0.6264 MB / 1.114 GB, free: 28.92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.5714, allocations: 131.3 kB / 1.114 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of SimCode: time 6.91e-07/0.5714, allocations: 1.188 kB / 1.114 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.02619/0.5976, allocations: 24.87 MB / 1.139 GB, free: 22.61 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.436666729860008]