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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001049/0.001049, allocations: 99.03 kB / 16.02 MB, free: 76 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.001394/0.001394, allocations: 185.4 kB / 16.92 MB, free: 6.895 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 11.98 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7084, allocations: 153.8 MB / 1.024 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07775/0.7862, allocations: 72.96 MB / 1.095 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03451/0.8208, allocations: 21.36 MB / 1.116 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004853/0.8257, allocations: 87.44 kB / 1.116 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.8364, allocations: 4.32 MB / 1.12 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.8471, allocations: 2.839 MB / 1.123 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006455/0.8535, allocations: 1.97 MB / 1.125 GB, free: 8.129 MB / 0.8731 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0004961901834698359}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01496/0.8685, allocations: 9.67 MB / 1.134 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.8725, allocations: 1.66 MB / 1.136 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.8777, allocations: 1.792 MB / 1.138 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.881, allocations: 1.52 MB / 1.139 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008329/0.8818, allocations: 88 kB / 1.139 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.8871, allocations: 1.906 MB / 1.141 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.8884, allocations: 0.6537 MB / 1.142 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.8912, allocations: 1.268 MB / 1.143 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.897, allocations: 3.304 MB / 1.146 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.897, allocations: 4 kB / 1.146 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.354e-06/0.897, allocations: 3.938 kB / 1.146 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001239/0.8971, allocations: 0 / 1.146 GB, free: 2.148 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.006463/0.9036, allocations: 2.712 MB / 1.149 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.9037, allocations: 15.98 kB / 1.149 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.9112, allocations: 1.253 MB / 1.15 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00668/0.9179, allocations: 2.958 MB / 1.153 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/0.9192, allocations: 351.9 kB / 1.153 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.9196, allocations: 132 kB / 1.153 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005718/0.9254, allocations: 1.991 MB / 1.155 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.9254, allocations: 0 / 1.155 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.9256, allocations: 52 kB / 1.155 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.9257, allocations: 32 kB / 1.155 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/0.9326, allocations: 2.195 MB / 1.158 GB, free: 6.242 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.01841/0.951, allocations: 8.532 MB / 1.166 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/0.9568, allocations: 1.772 MB / 1.168 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.9594, allocations: 0.7988 MB / 1.168 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.9669, allocations: 3.878 MB / 1.172 GB, free: 6.484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.967, allocations: 43.12 kB / 1.172 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/0.9683, allocations: 218.6 kB / 1.172 GB, free: 6.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 5.841e-06/0.9684, allocations: 0 / 1.172 GB, free: 6.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.01444/0.9828, allocations: 3.331 MB / 1.176 GB, free: 2.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.9829, allocations: 59.97 kB / 1.176 GB, free: 2.781 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005621/0.9885, allocations: 2.626 MB / 1.178 GB, free: 144 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.9888, allocations: 37.7 kB / 1.178 GB, free: 100 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.99, allocations: 1.107 MB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.9903, allocations: 213.1 kB / 1.18 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.9906, allocations: 153.6 kB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9908, allocations: 309 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.9937, allocations: 0.9714 MB / 1.181 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/0.9971, allocations: 1.407 MB / 1.182 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/1.003, allocations: 2.115 MB / 1.184 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-05/1.003, allocations: 4 kB / 1.184 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.009727/1.012, allocations: 2.983 MB / 1.187 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.012, allocations: 12 kB / 1.187 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/1.012, allocations: 8 kB / 1.187 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/1.014, allocations: 0.5241 MB / 1.188 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.016, allocations: 395.4 kB / 1.188 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/1.018, allocations: 1.161 MB / 1.189 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.022, allocations: 301.5 kB / 1.19 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/1.022, allocations: 71.95 kB / 1.19 GB, free: 4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (147): * Single equations (assignments): 144 * 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.001393/1.023, allocations: 0.5598 MB / 1.19 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/1.024, allocations: 240.9 kB / 1.191 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007483/1.031, allocations: 2.173 MB / 1.193 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.032, allocations: 11.98 kB / 1.193 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.032, allocations: 3.938 kB / 1.193 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.032, allocations: 0 / 1.193 GB, free: 1 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.01108/1.043, allocations: 4.186 MB / 1.197 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.043, allocations: 4 kB / 1.197 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.044, allocations: 215.9 kB / 1.197 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/1.045, allocations: 0.4964 MB / 1.197 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.045, allocations: 31.97 kB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.048, allocations: 1.138 MB / 1.199 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.048, allocations: 7.938 kB / 1.199 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007975/1.056, allocations: 2.292 MB / 1.201 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.057, allocations: 0.4937 MB / 1.201 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006629/1.058, allocations: 16 kB / 1.201 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.06, allocations: 231.7 kB / 1.202 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.061, allocations: 56.38 kB / 1.202 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.061, allocations: 35.95 kB / 1.202 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003894/1.065, allocations: 1.815 MB / 1.203 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.843e-06/1.065, allocations: 0 / 1.203 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0031/1.068, allocations: 0.7256 MB / 1.204 GB, free: 5.016 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (61): * Single equations (assignments): 54 * 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.00191/1.07, allocations: 0.6789 MB / 1.205 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006645/1.076, allocations: 2.103 MB / 1.207 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.076, allocations: 0 / 1.207 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.08, allocations: 0.9138 MB / 1.208 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007536/1.087, allocations: 1.123 MB / 1.209 GB, free: 224 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.097, allocations: 5.066 MB / 1.214 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/1.099, allocations: 1.625 MB / 1.215 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/1.1, allocations: 207.3 kB / 1.216 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of SimCode: time 8.91e-07/1.1, allocations: 3.938 kB / 1.216 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.5614/1.661, allocations: 51.48 MB / 1.266 GB, free: 219.1 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=480 -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) "" Variables in the reference: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 Variables in the result:QEva_P.y,QEva_QGen.y,chi.CR,chi.PLR,chi.QCon_flow,chi.QEva_flow,chi.QGen_flow,chi.sta_a1.T,chi.sta_a2.T,chi.sta_b1.T,chi.sta_b2.T,per.PLRMax,per.PLRMin,time