Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001309/0.001309, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.001488/0.001488, allocations: 169 kB / 23.5 MB, free: 1.039 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.609 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 2.146/2.146, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.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_latest_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_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.689e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.432e-05/5.901e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07381/0.07387, allocations: 77.68 MB / 0.954 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.04035/0.1142, allocations: 22.89 MB / 0.9764 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006894/0.1211, allocations: 134.9 kB / 0.9765 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.009417/0.1305, allocations: 2.215 MB / 0.9787 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.1437, allocations: 3.501 MB / 0.9821 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00879/0.1525, allocations: 2.73 MB / 0.9848 GB, free: 9.203 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0162/0.1687, allocations: 9.074 MB / 0.9936 GB, free: 112 kB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004704/0.1734, allocations: 1.671 MB / 0.9953 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01213/0.1856, allocations: 3.594 MB / 0.9988 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/0.19, allocations: 1.402 MB / 1 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0009861/0.191, allocations: 212 kB / 1 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.1963, allocations: 1.43 MB / 1.002 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.1975, allocations: 0.833 MB / 1.003 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.2003, allocations: 0.9195 MB / 1.003 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.2094, allocations: 2.966 MB / 1.006 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.2094, allocations: 0 / 1.006 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.467e-06/0.2094, allocations: 4 kB / 1.006 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001425/0.2095, allocations: 0 / 1.006 GB, free: 3.031 MB / 0.9636 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.006785/0.2163, allocations: 3.361 MB / 1.01 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.2164, allocations: 16.03 kB / 1.01 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.2204, allocations: 1.048 MB / 1.011 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.2251, allocations: 2.719 MB / 1.013 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2253, allocations: 181.9 kB / 1.014 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.2256, allocations: 144 kB / 1.014 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.2284, allocations: 1.435 MB / 1.015 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.2284, allocations: 3.938 kB / 1.015 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.2285, allocations: 52 kB / 1.015 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.2286, allocations: 32 kB / 1.015 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.2301, allocations: 0.6929 MB / 1.016 GB, free: 9.078 MB / 0.9792 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.01044/0.2406, allocations: 6.381 MB / 1.022 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2422, allocations: 0.6012 MB / 1.023 GB, free: 1.914 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.2427, allocations: 225.5 kB / 1.023 GB, free: 1.691 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003943/0.2466, allocations: 1.859 MB / 1.025 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2466, allocations: 45.88 kB / 1.025 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004797/0.2471, allocations: 107.4 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=57): time 4.949e-06/0.2471, allocations: 0 / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=57): time 0.004621/0.2518, allocations: 1.342 MB / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2518, allocations: 63.89 kB / 1.026 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.2543, allocations: 2.137 MB / 1.028 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/0.2544, allocations: 41.7 kB / 1.028 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2556, allocations: 1.329 MB / 1.03 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.2558, allocations: 214.2 kB / 1.03 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/0.2563, allocations: 264.4 kB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002363/0.2566, allocations: 0.5199 MB / 1.031 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.2572, allocations: 210.5 kB / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.2587, allocations: 1.16 MB / 1.032 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.2605, allocations: 1.081 MB / 1.033 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.2605, allocations: 4 kB / 1.033 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004737/0.2653, allocations: 1.339 MB / 1.034 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2653, allocations: 12 kB / 1.034 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/0.2654, allocations: 12 kB / 1.034 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/0.2661, allocations: 267.4 kB / 1.035 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.2668, allocations: 295.5 kB / 1.035 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2679, allocations: 0.9755 MB / 1.036 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.2697, allocations: 127.9 kB / 1.036 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.2698, allocations: 71.97 kB / 1.036 GB, free: 3.449 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 126 * 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.000893/0.2707, allocations: 236.1 kB / 1.036 GB, free: 3.207 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.2712, allocations: 262.3 kB / 1.036 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.2733, allocations: 1.013 MB / 1.037 GB, free: 1.926 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.2733, allocations: 7.984 kB / 1.037 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2733, allocations: 0 / 1.037 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.2733, allocations: 7.984 kB / 1.037 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.2779, allocations: 2.559 MB / 1.04 GB, free: 15.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.2779, allocations: 4 kB / 1.04 GB, free: 15.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.2783, allocations: 152 kB / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/0.2788, allocations: 247.5 kB / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.2789, allocations: 27.97 kB / 1.04 GB, free: 14.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008083/0.2797, allocations: 0.956 MB / 1.041 GB, free: 13.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.2797, allocations: 11.95 kB / 1.041 GB, free: 13.84 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.2819, allocations: 1.177 MB / 1.042 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007334/0.2826, allocations: 394.1 kB / 1.043 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.2828, allocations: 16 kB / 1.043 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.2834, allocations: 87.92 kB / 1.043 GB, free: 12.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2835, allocations: 60.28 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.2836, allocations: 39.95 kB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00153/0.2851, allocations: 1.21 MB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2851, allocations: 0 / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002201/0.2873, allocations: 0.6742 MB / 1.045 GB, free: 10.11 MB / 1.01 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.001115/0.2885, allocations: 0.5102 MB / 1.045 GB, free: 9.594 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.2904, allocations: 0.7374 MB / 1.046 GB, free: 8.859 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2904, allocations: 0.9375 kB / 1.046 GB, free: 8.859 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006953/0.2911, allocations: 340.9 kB / 1.046 GB, free: 8.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.2943, allocations: 1.106 MB / 1.047 GB, free: 7.434 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.3004, allocations: 3.487 MB / 1.051 GB, free: 3.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.3009, allocations: 454.8 kB / 1.051 GB, free: 3.371 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001905/0.3028, allocations: 433.6 kB / 1.052 GB, free: 2.953 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/0.3032, allocations: 184.4 kB / 1.052 GB, free: 2.773 MB / 1.01 GB Notification: Performance of SimCode: time 2.935e-06/0.3032, allocations: 0 / 1.052 GB, free: 2.773 MB / 1.01 GB Notification: Performance of Templates: time 0.6491/0.9523, allocations: 46.75 MB / 1.098 GB, free: 204 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.573300187010318]