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.001588/0.001588, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.9 MB, free: 15.24 MB / 206.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.558/2.558, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 77.22 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.655/0.9668, allocations: 74.74 MB / 1.091 GB, free: 19.95 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02946/0.9963, allocations: 21.48 MB / 1.112 GB, free: 16.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/1.001, allocations: 101.4 kB / 1.112 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/1.011, allocations: 4.594 MB / 1.117 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/1.022, allocations: 3.084 MB / 1.12 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006344/1.028, allocations: 2.178 MB / 1.122 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01329/1.041, allocations: 7.975 MB / 1.129 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003778/1.045, allocations: 1.985 MB / 1.131 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/1.052, allocations: 2.125 MB / 1.133 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/1.055, allocations: 1.572 MB / 1.135 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006374/1.056, allocations: 209.1 kB / 1.135 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/1.061, allocations: 1.987 MB / 1.137 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.063, allocations: 0.7773 MB / 1.138 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/1.065, allocations: 1.4 MB / 1.139 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006889/1.072, allocations: 4.367 MB / 1.144 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.072, allocations: 0 / 1.144 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/1.072, allocations: 0 / 1.144 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.132e-05/1.072, allocations: 4 kB / 1.144 GB, free: 2.016 MB / 0.8419 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.006277/1.078, allocations: 3.197 MB / 1.147 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.078, allocations: 14.12 kB / 1.147 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/1.085, allocations: 1.142 MB / 1.148 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006671/1.092, allocations: 2.863 MB / 1.151 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/1.093, allocations: 327.3 kB / 1.151 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/1.094, allocations: 132.7 kB / 1.151 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/1.099, allocations: 1.944 MB / 1.153 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.099, allocations: 1.125 kB / 1.153 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/1.099, allocations: 52.34 kB / 1.153 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/1.099, allocations: 34.62 kB / 1.153 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006524/1.106, allocations: 2.086 MB / 1.155 GB, free: 10.73 MB / 0.8575 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.01638/1.122, allocations: 8.566 MB / 1.163 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/1.128, allocations: 1.659 MB / 1.165 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/1.13, allocations: 0.7442 MB / 1.166 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006974/1.137, allocations: 3.846 MB / 1.17 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/1.137, allocations: 44.75 kB / 1.17 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001048/1.138, allocations: 116.6 kB / 1.17 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=57): time 3.196e-06/1.138, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57): time 0.01334/1.151, allocations: 3.093 MB / 1.173 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.151, allocations: 59.41 kB / 1.173 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/1.156, allocations: 2.649 MB / 1.175 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002591/1.156, allocations: 37.7 kB / 1.175 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.158, allocations: 1.114 MB / 1.176 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/1.158, allocations: 205.1 kB / 1.177 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005844/1.159, allocations: 338.4 kB / 1.177 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.159, allocations: 309.1 kB / 1.177 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/1.161, allocations: 0.9284 MB / 1.178 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/1.165, allocations: 1.371 MB / 1.18 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/1.17, allocations: 2.026 MB / 1.181 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.17, allocations: 0 / 1.181 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008764/1.179, allocations: 2.767 MB / 1.184 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/1.179, allocations: 8 kB / 1.184 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/1.179, allocations: 12.62 kB / 1.184 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.18, allocations: 0.5121 MB / 1.185 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.182, allocations: 379.4 kB / 1.185 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/1.185, allocations: 1.13 MB / 1.186 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.188, allocations: 236.6 kB / 1.186 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/1.188, allocations: 71.95 kB / 1.186 GB, free: 15.05 MB / 0.8887 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.001213/1.189, allocations: 0.5572 MB / 1.187 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006302/1.19, allocations: 240.8 kB / 1.187 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/1.197, allocations: 2.13 MB / 1.189 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.197, allocations: 11.98 kB / 1.189 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.197, allocations: 0 / 1.189 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.197, allocations: 3.984 kB / 1.189 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.208, allocations: 4.106 MB / 1.193 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.208, allocations: 4 kB / 1.193 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.21, allocations: 207.8 kB / 1.194 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/1.211, allocations: 0.4965 MB / 1.194 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/1.211, allocations: 35.95 kB / 1.194 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.214, allocations: 1.095 MB / 1.195 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.214, allocations: 7.938 kB / 1.195 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007956/1.222, allocations: 2.196 MB / 1.197 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.223, allocations: 493.7 kB / 1.198 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.224, allocations: 19.98 kB / 1.198 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/1.226, allocations: 171.8 kB / 1.198 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/1.226, allocations: 48.42 kB / 1.198 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.226, allocations: 47.95 kB / 1.198 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003371/1.229, allocations: 1.823 MB / 1.2 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.7e-07/1.229, allocations: 0 / 1.2 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003031/1.232, allocations: 0.7334 MB / 1.201 GB, free: 420 kB / 0.8887 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.00182/1.234, allocations: 0.7108 MB / 1.201 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.241, allocations: 2.069 MB / 1.203 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.241, allocations: 0 / 1.203 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003131/1.244, allocations: 0.8553 MB / 1.204 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/1.25, allocations: 1.162 MB / 1.205 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/1.258, allocations: 4.299 MB / 1.209 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.26, allocations: 1.629 MB / 1.211 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008668/1.261, allocations: 199.3 kB / 1.211 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of SimCode: time 9.52e-07/1.261, allocations: 0 / 1.211 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.07781/1.339, allocations: 52.42 MB / 1.262 GB, free: 1.336 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches