Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.919/2.919, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8768/0.879, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08323/0.9623, allocations: 74.75 MB / 1.09 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03604/0.9983, allocations: 21.48 MB / 1.111 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/1.003, allocations: 99.5 kB / 1.111 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0105/1.014, allocations: 4.595 MB / 1.116 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/1.025, allocations: 3.075 MB / 1.119 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007965/1.033, allocations: 2.176 MB / 1.121 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01481/1.048, allocations: 7.97 MB / 1.129 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/1.052, allocations: 1.989 MB / 1.131 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00748/1.06, allocations: 2.132 MB / 1.133 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/1.063, allocations: 1.559 MB / 1.134 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000705/1.064, allocations: 212 kB / 1.135 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/1.07, allocations: 1.993 MB / 1.136 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.071, allocations: 0.7709 MB / 1.137 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002618/1.074, allocations: 1.403 MB / 1.139 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009203/1.083, allocations: 4.366 MB / 1.143 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/1.083, allocations: 0 / 1.143 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.844e-06/1.083, allocations: 0 / 1.143 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.589e-05/1.083, allocations: 0 / 1.143 GB, free: 1.484 MB / 0.8887 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.007329/1.09, allocations: 3.194 MB / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.09, allocations: 11.98 kB / 1.146 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006837/1.097, allocations: 1.144 MB / 1.147 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/1.103, allocations: 2.867 MB / 1.15 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/1.105, allocations: 319.9 kB / 1.15 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/1.105, allocations: 135.9 kB / 1.15 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004897/1.11, allocations: 1.943 MB / 1.152 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.11, allocations: 0 / 1.152 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.11, allocations: 56 kB / 1.152 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/1.11, allocations: 32 kB / 1.152 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/1.117, allocations: 2.09 MB / 1.154 GB, free: 5.469 MB / 0.9044 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.0186/1.135, allocations: 8.565 MB / 1.163 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005678/1.141, allocations: 1.654 MB / 1.164 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/1.143, allocations: 0.7481 MB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00729/1.151, allocations: 3.851 MB / 1.169 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.151, allocations: 47.05 kB / 1.169 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009244/1.152, allocations: 106.8 kB / 1.169 GB, free: 5.703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/1.152, allocations: 0 / 1.169 GB, free: 5.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=57): time 0.01373/1.165, allocations: 3.097 MB / 1.172 GB, free: 2.574 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.165, allocations: 67.84 kB / 1.172 GB, free: 2.496 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/1.17, allocations: 2.646 MB / 1.175 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/1.17, allocations: 41.61 kB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.172, allocations: 1.111 MB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/1.172, allocations: 213.1 kB / 1.176 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005758/1.172, allocations: 334.5 kB / 1.176 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.173, allocations: 309.1 kB / 1.177 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/1.175, allocations: 0.9323 MB / 1.177 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00306/1.178, allocations: 1.351 MB / 1.179 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005165/1.183, allocations: 2.029 MB / 1.181 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/1.184, allocations: 4 kB / 1.181 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008224/1.192, allocations: 2.771 MB / 1.184 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/1.192, allocations: 15.94 kB / 1.184 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/1.192, allocations: 11.98 kB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.193, allocations: 0.5083 MB / 1.184 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/1.195, allocations: 383.4 kB / 1.184 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/1.197, allocations: 1.126 MB / 1.185 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/1.2, allocations: 237.2 kB / 1.186 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.2, allocations: 71.95 kB / 1.186 GB, free: 4.027 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.001258/1.202, allocations: 0.5617 MB / 1.186 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/1.202, allocations: 240.8 kB / 1.187 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/1.209, allocations: 2.119 MB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/1.209, allocations: 11.94 kB / 1.189 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.209, allocations: 4 kB / 1.189 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.209, allocations: 3.984 kB / 1.189 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.22, allocations: 4.103 MB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.22, allocations: 4 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/1.221, allocations: 204.1 kB / 1.193 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/1.222, allocations: 0.4925 MB / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/1.223, allocations: 31.97 kB / 1.193 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/1.225, allocations: 1.095 MB / 1.194 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.225, allocations: 12 kB / 1.194 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007891/1.233, allocations: 2.193 MB / 1.197 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.235, allocations: 0.4937 MB / 1.197 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.235, allocations: 16 kB / 1.197 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.237, allocations: 167.8 kB / 1.197 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.237, allocations: 56.38 kB / 1.197 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.237, allocations: 43.95 kB / 1.197 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003253/1.24, allocations: 1.827 MB / 1.199 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.24, allocations: 0 / 1.199 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002546/1.243, allocations: 0.7334 MB / 1.2 GB, free: 5.387 MB / 0.9512 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.001709/1.245, allocations: 0.6978 MB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006836/1.252, allocations: 2.063 MB / 1.203 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.252, allocations: 5.625 kB / 1.203 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003081/1.255, allocations: 0.8624 MB / 1.203 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/1.26, allocations: 1.163 MB / 1.205 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008986/1.269, allocations: 4.183 MB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.271, allocations: 1.633 MB / 1.21 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002509/1.274, allocations: 476.3 kB / 1.211 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/1.274, allocations: 179.4 kB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/1.274, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of Templates: time 0.6691/1.943, allocations: 49.7 MB / 1.259 GB, free: 221.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches