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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001578/0.001578, 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.001947/0.001947, allocations: 193.6 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.454/1.454, 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 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 66.91 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3296, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07299/0.4026, allocations: 74.74 MB / 1.141 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03405/0.4367, allocations: 21.5 MB / 1.162 GB, free: 9.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/0.4416, allocations: 99.44 kB / 1.162 GB, free: 9.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01038/0.4521, allocations: 4.596 MB / 1.167 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.4624, allocations: 3.09 MB / 1.17 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.4685, allocations: 2.167 MB / 1.172 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.4807, allocations: 7.977 MB / 1.18 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.4841, allocations: 1.986 MB / 1.182 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/0.4891, allocations: 2.121 MB / 1.184 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.4921, allocations: 1.579 MB / 1.185 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005312/0.4927, allocations: 208 kB / 1.185 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.4975, allocations: 1.997 MB / 1.187 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.4986, allocations: 0.7747 MB / 1.188 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.5007, allocations: 1.399 MB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.5083, allocations: 4.358 MB / 1.194 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5084, allocations: 0 / 1.194 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5084, allocations: 4 kB / 1.194 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.625e-05/0.5084, allocations: 0 / 1.194 GB, free: 9.355 MB / 0.9512 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.005926/0.5144, allocations: 3.194 MB / 1.197 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5144, allocations: 12.03 kB / 1.197 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/0.5211, allocations: 1.144 MB / 1.198 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005275/0.5264, allocations: 2.871 MB / 1.201 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/0.5275, allocations: 323.9 kB / 1.201 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.5277, allocations: 132 kB / 1.201 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.5322, allocations: 1.94 MB / 1.203 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5322, allocations: 4 kB / 1.203 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.5324, allocations: 52 kB / 1.203 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.5324, allocations: 28 kB / 1.203 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.5385, allocations: 2.09 MB / 1.205 GB, free: 13.34 MB / 0.9669 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.01364/0.5521, allocations: 8.565 MB / 1.214 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.5574, allocations: 1.655 MB / 1.215 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.5597, allocations: 0.7442 MB / 1.216 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006144/0.5658, allocations: 3.851 MB / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.5659, allocations: 39.12 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008587/0.5668, allocations: 126.7 kB / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=57): time 3.917e-06/0.5668, allocations: 0 / 1.22 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57): time 0.01353/0.5803, allocations: 3.089 MB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.5804, allocations: 55.97 kB / 1.223 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5844, allocations: 2.649 MB / 1.226 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.5847, allocations: 37.7 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/0.5856, allocations: 1.114 MB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.5859, allocations: 209.1 kB / 1.227 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/0.5864, allocations: 338.4 kB / 1.227 GB, free: 6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5865, allocations: 313.1 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/0.5891, allocations: 0.9245 MB / 1.228 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.5922, allocations: 1.359 MB / 1.23 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/0.5971, allocations: 2.03 MB / 1.232 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.5972, allocations: 4 kB / 1.232 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007872/0.605, allocations: 2.771 MB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6051, allocations: 8.625 kB / 1.234 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.6051, allocations: 16 kB / 1.234 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.6065, allocations: 0.5082 MB / 1.235 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.6082, allocations: 383.3 kB / 1.235 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.6107, allocations: 1.118 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.6133, allocations: 232.2 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.6136, allocations: 71.95 kB / 1.237 GB, free: 11.9 MB / 0.9981 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.00114/0.6147, allocations: 0.5559 MB / 1.237 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/0.6154, allocations: 244.8 kB / 1.237 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006855/0.6222, allocations: 2.122 MB / 1.24 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6223, allocations: 8 kB / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6223, allocations: 0 / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.6223, allocations: 3.984 kB / 1.24 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.6326, allocations: 4.103 MB / 1.244 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6327, allocations: 4 kB / 1.244 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6338, allocations: 211.9 kB / 1.244 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.6351, allocations: 0.5043 MB / 1.244 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.6352, allocations: 27.95 kB / 1.244 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.6375, allocations: 1.106 MB / 1.245 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6375, allocations: 0 / 1.245 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007773/0.6453, allocations: 2.197 MB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.6468, allocations: 489.7 kB / 1.248 GB, free: 120 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006711/0.6475, allocations: 20 kB / 1.248 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5976/1.245, allocations: 167.8 kB / 1.248 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.245, allocations: 51.66 kB / 1.248 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.245, allocations: 44 kB / 1.248 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003131/1.249, allocations: 1.826 MB / 1.25 GB, free: 175 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.249, allocations: 0.5938 kB / 1.25 GB, free: 175 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002337/1.251, allocations: 0.7381 MB / 1.251 GB, free: 175 MB / 0.9981 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.001517/1.253, allocations: 0.7027 MB / 1.251 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006554/1.259, allocations: 2.058 MB / 1.253 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.259, allocations: 0 / 1.253 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002778/1.262, allocations: 0.857 MB / 1.254 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/1.267, allocations: 1.166 MB / 1.255 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/1.276, allocations: 4.198 MB / 1.26 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/1.277, allocations: 1.633 MB / 1.261 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002738/1.28, allocations: 470.1 kB / 1.262 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/1.281, allocations: 185.7 kB / 1.262 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.281, allocations: 0 / 1.262 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08813/1.369, allocations: 49.67 MB / 1.31 GB, free: 147.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches