Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001523/0.001523, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001494/0.001494, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.587/2.587, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 68.86 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3337, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.5572/0.8909, allocations: 74.07 MB / 1.136 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03348/0.9244, allocations: 21.34 MB / 1.157 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.9292, allocations: 92.31 kB / 1.157 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.9412, allocations: 4.508 MB / 1.162 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.9518, allocations: 2.86 MB / 1.165 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00679/0.9586, allocations: 1.991 MB / 1.167 GB, free: 3.973 MB / 0.8887 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01427/0.9729, allocations: 8.219 MB / 1.175 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00445/0.9773, allocations: 2.004 MB / 1.177 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006808/0.9842, allocations: 2.165 MB / 1.179 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.9879, allocations: 1.638 MB / 1.18 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.9889, allocations: 209.3 kB / 1.18 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.9949, allocations: 2.008 MB / 1.182 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.9962, allocations: 0.7827 MB / 1.183 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.9989, allocations: 1.407 MB / 1.185 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00587/1.005, allocations: 3.423 MB / 1.188 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.005, allocations: 0 / 1.188 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.144e-06/1.005, allocations: 1.125 kB / 1.188 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.279e-05/1.005, allocations: 0 / 1.188 GB, free: 7.266 MB / 0.9044 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.007446/1.012, allocations: 3.196 MB / 1.191 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.012, allocations: 9.25 kB / 1.191 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/1.019, allocations: 1.145 MB / 1.192 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006003/1.025, allocations: 2.949 MB / 1.195 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.026, allocations: 318.1 kB / 1.195 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/1.027, allocations: 134.6 kB / 1.195 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00478/1.031, allocations: 1.94 MB / 1.197 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.032, allocations: 4 kB / 1.197 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/1.032, allocations: 52 kB / 1.197 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/1.032, allocations: 28 kB / 1.197 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006074/1.038, allocations: 2.098 MB / 1.199 GB, free: 14.66 MB / 0.92 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.01583/1.054, allocations: 8.44 MB / 1.208 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/1.059, allocations: 1.681 MB / 1.209 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002237/1.061, allocations: 0.752 MB / 1.21 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006655/1.068, allocations: 3.882 MB / 1.214 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.068, allocations: 35.12 kB / 1.214 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001194/1.069, allocations: 190.5 kB / 1.214 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/1.069, allocations: 0 / 1.214 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58): time 0.01359/1.083, allocations: 3.124 MB / 1.217 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.083, allocations: 59.97 kB / 1.217 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/1.087, allocations: 2.614 MB / 1.22 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.088, allocations: 37.7 kB / 1.22 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.089, allocations: 1.114 MB / 1.221 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.089, allocations: 217 kB / 1.221 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005833/1.09, allocations: 346.4 kB / 1.221 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.09, allocations: 313 kB / 1.222 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/1.092, allocations: 0.9362 MB / 1.223 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/1.095, allocations: 1.363 MB / 1.224 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/1.1, allocations: 2.053 MB / 1.226 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.1, allocations: 4 kB / 1.226 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008117/1.108, allocations: 2.779 MB / 1.229 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.109, allocations: 12.03 kB / 1.229 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.109, allocations: 12 kB / 1.229 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/1.11, allocations: 0.5082 MB / 1.229 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.112, allocations: 375.4 kB / 1.23 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/1.114, allocations: 1.138 MB / 1.231 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.117, allocations: 283.8 kB / 1.231 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.117, allocations: 75.94 kB / 1.231 GB, free: 13.11 MB / 0.9512 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 (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.001192/1.119, allocations: 0.5521 MB / 1.232 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/1.119, allocations: 244.8 kB / 1.232 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/1.126, allocations: 2.097 MB / 1.234 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.126, allocations: 8 kB / 1.234 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.126, allocations: 4 kB / 1.234 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.126, allocations: 7.984 kB / 1.234 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.137, allocations: 4.141 MB / 1.238 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.137, allocations: 4 kB / 1.238 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.138, allocations: 204.1 kB / 1.238 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/1.139, allocations: 0.4965 MB / 1.239 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/1.14, allocations: 27.91 kB / 1.239 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/1.142, allocations: 1.107 MB / 1.24 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.142, allocations: 7.875 kB / 1.24 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/1.149, allocations: 2.22 MB / 1.242 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.151, allocations: 497.5 kB / 1.242 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/1.151, allocations: 19.98 kB / 1.242 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.153, allocations: 195.8 kB / 1.243 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.153, allocations: 56.36 kB / 1.243 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.154, allocations: 35.97 kB / 1.243 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003108/1.157, allocations: 1.808 MB / 1.244 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.51e-07/1.157, allocations: 0 / 1.244 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002657/1.159, allocations: 0.7334 MB / 1.245 GB, free: 14.41 MB / 0.9669 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 (63): * Single equations (assignments): 56 * 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.00166/1.161, allocations: 0.6767 MB / 1.246 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006482/1.168, allocations: 2.076 MB / 1.248 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.168, allocations: 4 kB / 1.248 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/1.171, allocations: 0.8671 MB / 1.249 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/1.176, allocations: 1.169 MB / 1.25 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/1.186, allocations: 5.047 MB / 1.255 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.187, allocations: 1.633 MB / 1.256 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009495/1.188, allocations: 199.3 kB / 1.256 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of SimCode: time 1.383e-06/1.188, allocations: 0 / 1.256 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of Templates: time 0.08432/1.273, allocations: 52.05 MB / 1.307 GB, free: 14.96 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches