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.001489/0.001489, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001901/0.001901, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9719/0.9719, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.907/1.907, allocations: 377.8 MB / 0.6236 GB, free: 8.598 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.953e-06/1.953e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.347e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.018/0.01803, allocations: 22.39 MB / 0.8334 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.03373, allocations: 10.9 MB / 0.844 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.0364, allocations: 134.9 kB / 0.8441 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003526/0.03993, allocations: 1.753 MB / 0.8459 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.04383, allocations: 2.386 MB / 0.8482 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.04751, allocations: 2.301 MB / 0.8504 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.008208/0.05572, allocations: 8.88 MB / 0.8591 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.05798, allocations: 1.713 MB / 0.8608 GB, free: 15.21 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.06148, allocations: 2.938 MB / 0.8636 GB, free: 12.29 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.06282, allocations: 1.402 MB / 0.865 GB, free: 10.89 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.06307, allocations: 208 kB / 0.8652 GB, free: 10.68 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.06425, allocations: 0.854 MB / 0.8661 GB, free: 9.828 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.06473, allocations: 0.8252 MB / 0.8669 GB, free: 9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.06557, allocations: 0.9039 MB / 0.8677 GB, free: 8.094 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.06792, allocations: 2.522 MB / 0.8702 GB, free: 5.562 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.06792, allocations: 4 kB / 0.8702 GB, free: 5.559 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.012e-06/0.06792, allocations: 0 / 0.8702 GB, free: 5.559 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.06795, allocations: 3.938 kB / 0.8702 GB, free: 5.555 MB / 0.823 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.003175/0.07112, allocations: 3.221 MB / 0.8734 GB, free: 2.273 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.07116, allocations: 12.03 kB / 0.8734 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/0.07371, allocations: 1.044 MB / 0.8744 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.07664, allocations: 2.674 MB / 0.877 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.07678, allocations: 173.9 kB / 0.8772 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.07693, allocations: 132 kB / 0.8773 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.07893, allocations: 1.438 MB / 0.8787 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.07895, allocations: 7.938 kB / 0.8787 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.07905, allocations: 52 kB / 0.8788 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.07907, allocations: 32 kB / 0.8788 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.0808, allocations: 0.6929 MB / 0.8795 GB, free: 11.81 MB / 0.8386 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.009384/0.09018, allocations: 6.344 MB / 0.8857 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.09147, allocations: 0.6068 MB / 0.8862 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.09183, allocations: 229.5 kB / 0.8865 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.09411, allocations: 1.77 MB / 0.8882 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.09414, allocations: 45.88 kB / 0.8882 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004525/0.09459, allocations: 99.47 kB / 0.8883 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.974e-06/0.09459, allocations: 0 / 0.8883 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.003449/0.09804, allocations: 1.334 MB / 0.8896 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.09807, allocations: 59.89 kB / 0.8897 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.09987, allocations: 2.058 MB / 0.8917 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.09993, allocations: 37.7 kB / 0.8917 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.1007, allocations: 1.313 MB / 0.893 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1008, allocations: 210.2 kB / 0.8932 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.101, allocations: 232.1 kB / 0.8934 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1012, allocations: 0.5199 MB / 0.894 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.1015, allocations: 193.9 kB / 0.8941 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.1022, allocations: 0.9904 MB / 0.8951 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.1033, allocations: 0.8835 MB / 0.896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1033, allocations: 0 / 0.896 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002068/0.1053, allocations: 1.214 MB / 0.8972 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1054, allocations: 8 kB / 0.8972 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1054, allocations: 12 kB / 0.8972 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.1058, allocations: 255.8 kB / 0.8974 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.1064, allocations: 271.5 kB / 0.8977 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.1071, allocations: 0.96 MB / 0.8986 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.1078, allocations: 127.9 kB / 0.8987 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.1079, allocations: 63.95 kB / 0.8988 GB, free: 7.18 MB / 0.8542 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.0003086/0.1082, allocations: 224.1 kB / 0.899 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.1084, allocations: 258.4 kB / 0.8993 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.1101, allocations: 1.004 MB / 0.9002 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.1101, allocations: 8 kB / 0.9002 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1101, allocations: 0 / 0.9002 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1101, allocations: 3.984 kB / 0.9002 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.1134, allocations: 2.545 MB / 0.9027 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.1134, allocations: 4 kB / 0.9027 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.1138, allocations: 160.1 kB / 0.9029 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.1141, allocations: 235.4 kB / 0.9031 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.1142, allocations: 23.97 kB / 0.9031 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006424/0.1148, allocations: 0.9599 MB / 0.9041 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1148, allocations: 7.938 kB / 0.9041 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.1166, allocations: 1.168 MB / 0.9052 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.1171, allocations: 382.2 kB / 0.9056 GB, free: 0 / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.1172, allocations: 16.08 kB / 0.9056 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/0.1178, allocations: 95.91 kB / 0.9057 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.1179, allocations: 64.27 kB / 0.9058 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/0.1179, allocations: 39.95 kB / 0.9058 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001114/0.1191, allocations: 1.18 MB / 0.9069 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1191, allocations: 0 / 0.9069 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009961/0.1201, allocations: 0.5691 MB / 0.9075 GB, free: 14.03 MB / 0.8698 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.0003985/0.1205, allocations: 266.6 kB / 0.9078 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.1217, allocations: 0.6896 MB / 0.9084 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1217, allocations: 0 / 0.9084 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.1223, allocations: 345.3 kB / 0.9088 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.1247, allocations: 1.117 MB / 0.9098 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.1285, allocations: 3.409 MB / 0.9132 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1288, allocations: 454.6 kB / 0.9136 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008764/0.1297, allocations: 415.4 kB / 0.914 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.13, allocations: 192.3 kB / 0.9142 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of SimCode: time 8.11e-07/0.13, allocations: 0 / 0.9142 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of Templates: time 0.0443/0.1743, allocations: 43.2 MB / 0.9564 GB, free: 12.88 MB / 0.9167 GB " [Timeout remaining time 300] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.187644341960549]