Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.001964/0.001964, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002104/0.002104, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.623/1.623, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.173/3.173, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.168e-05, allocations: 7.188 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.1603/0.1603, allocations: 77.3 MB / 0.8863 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0564/0.2167, allocations: 21.93 MB / 0.9077 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/0.2212, allocations: 130.9 kB / 0.9078 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.007985/0.2292, allocations: 2.211 MB / 0.91 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.2404, allocations: 3.474 MB / 0.9134 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.2473, allocations: 2.396 MB / 0.9157 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01735/0.2646, allocations: 9.011 MB / 0.9245 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/0.2684, allocations: 1.702 MB / 0.9262 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009477/0.2779, allocations: 3.532 MB / 0.9296 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.2817, allocations: 1.402 MB / 0.931 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0005254/0.2822, allocations: 208 kB / 0.9312 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.2865, allocations: 1.423 MB / 0.9326 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.2876, allocations: 0.8252 MB / 0.9334 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.2895, allocations: 0.9 MB / 0.9343 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.2981, allocations: 4.264 MB / 0.9384 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2981, allocations: 0 / 0.9384 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2981, allocations: 4 kB / 0.9384 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.405e-05/0.2982, allocations: 0 / 0.9384 GB, free: 15.05 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.008314/0.3065, allocations: 3.525 MB / 0.9419 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3066, allocations: 12.03 kB / 0.9419 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006051/0.3126, allocations: 1.048 MB / 0.9429 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006512/0.3192, allocations: 2.675 MB / 0.9455 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.3194, allocations: 177.9 kB / 0.9457 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.3198, allocations: 131.9 kB / 0.9458 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004694/0.3244, allocations: 1.927 MB / 0.9477 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.3245, allocations: 0 / 0.9477 GB, free: 5.289 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.3246, allocations: 52 kB / 0.9478 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.3247, allocations: 32 kB / 0.9478 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.3295, allocations: 1.602 MB / 0.9494 GB, free: 3.598 MB / 0.9011 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.0168/0.3463, allocations: 7.729 MB / 0.9569 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.3502, allocations: 1.095 MB / 0.958 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.3521, allocations: 0.513 MB / 0.9585 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005429/0.3576, allocations: 2.137 MB / 0.9606 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.3576, allocations: 41.89 kB / 0.9606 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008267/0.3585, allocations: 95.53 kB / 0.9607 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 4.128e-06/0.3585, allocations: 0 / 0.9607 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.01097/0.3694, allocations: 2.15 MB / 0.9628 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3695, allocations: 63.84 kB / 0.9629 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00489/0.3744, allocations: 2.706 MB / 0.9655 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.3745, allocations: 41.64 kB / 0.9655 GB, free: 2.742 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.3763, allocations: 1.442 MB / 0.9669 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.3766, allocations: 226.2 kB / 0.9672 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.3772, allocations: 268.1 kB / 0.9674 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003763/0.3776, allocations: 0.5394 MB / 0.9679 GB, free: 256 kB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.3793, allocations: 0.4977 MB / 0.9684 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.3819, allocations: 1.326 MB / 0.9697 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.3856, allocations: 1.426 MB / 0.9711 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.3856, allocations: 4 kB / 0.9711 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007442/0.3931, allocations: 1.834 MB / 0.9729 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.3931, allocations: 8 kB / 0.9729 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.3931, allocations: 12 kB / 0.9729 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.3943, allocations: 375.8 kB / 0.9733 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.3957, allocations: 271.6 kB / 0.9735 GB, free: 10 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.398, allocations: 1.159 MB / 0.9747 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4001, allocations: 127.9 kB / 0.9748 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.4002, allocations: 63.95 kB / 0.9749 GB, free: 8.621 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 108 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.4012, allocations: 400.2 kB / 0.9752 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.4018, allocations: 258.4 kB / 0.9755 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/0.4071, allocations: 1.57 MB / 0.977 GB, free: 6.387 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.4071, allocations: 12 kB / 0.977 GB, free: 6.375 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4071, allocations: 4 kB / 0.977 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4071, allocations: 3.984 kB / 0.977 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009792/0.4169, allocations: 3.623 MB / 0.9806 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4169, allocations: 8.062 kB / 0.9806 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.4179, allocations: 155.8 kB / 0.9807 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.4189, allocations: 347.3 kB / 0.9811 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.419, allocations: 27.97 kB / 0.9811 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.4211, allocations: 1.151 MB / 0.9822 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/0.4211, allocations: 7.938 kB / 0.9822 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/0.4275, allocations: 1.734 MB / 0.9839 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.4287, allocations: 390.1 kB / 0.9843 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.4289, allocations: 12 kB / 0.9843 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.4303, allocations: 95.91 kB / 0.9844 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.4304, allocations: 60.28 kB / 0.9845 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.4305, allocations: 39.95 kB / 0.9845 GB, free: 14.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003259/0.4338, allocations: 1.516 MB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4338, allocations: 0 / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002392/0.4362, allocations: 0.6586 MB / 0.9866 GB, free: 12.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.4373, allocations: 0.5087 MB / 0.9871 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004512/0.4418, allocations: 1.275 MB / 0.9884 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4418, allocations: 0.5625 kB / 0.9884 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.4441, allocations: 0.6107 MB / 0.989 GB, free: 9.945 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004792/0.4489, allocations: 1.125 MB / 0.9901 GB, free: 8.844 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.4574, allocations: 3.764 MB / 0.9937 GB, free: 4.977 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.4588, allocations: 1.045 MB / 0.9947 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002064/0.4609, allocations: 410.8 kB / 0.9951 GB, free: 3.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/0.4615, allocations: 188.4 kB / 0.9953 GB, free: 3.316 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/0.4615, allocations: 0 / 0.9953 GB, free: 3.316 MB / 0.948 GB Notification: Performance of Templates: time 0.09018/0.5517, allocations: 46.37 MB / 1.041 GB, free: 5.984 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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: 11.051241465029307]