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.001911/0.001911, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002432/0.002432, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.882/2.882, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 67.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8287, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.1024/0.9312, allocations: 74.09 MB / 1.089 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03899/0.9703, allocations: 21.35 MB / 1.11 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007545/0.9779, allocations: 87.5 kB / 1.11 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01625/0.9942, allocations: 4.504 MB / 1.114 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0147/1.009, allocations: 2.859 MB / 1.117 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008827/1.018, allocations: 2.001 MB / 1.119 GB, free: 9.547 MB / 0.8731 GB [/var/lib/jenkins/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.01894/1.037, allocations: 8.212 MB / 1.127 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/1.042, allocations: 1.993 MB / 1.129 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007774/1.05, allocations: 2.157 MB / 1.131 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004709/1.054, allocations: 1.641 MB / 1.133 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/1.056, allocations: 208 kB / 1.133 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006628/1.062, allocations: 2.016 MB / 1.135 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001606/1.064, allocations: 0.7865 MB / 1.136 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003642/1.068, allocations: 1.403 MB / 1.137 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009976/1.078, allocations: 4.409 MB / 1.142 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.078, allocations: 4 kB / 1.142 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/1.078, allocations: 0 / 1.142 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001667/1.078, allocations: 4 kB / 1.142 GB, free: 2.621 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.008867/1.087, allocations: 3.19 MB / 1.145 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.087, allocations: 11.98 kB / 1.145 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/1.094, allocations: 1.148 MB / 1.146 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006858/1.101, allocations: 2.948 MB / 1.149 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/1.102, allocations: 319.9 kB / 1.149 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/1.102, allocations: 132 kB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/1.107, allocations: 1.939 MB / 1.151 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/1.107, allocations: 4 kB / 1.151 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/1.108, allocations: 52 kB / 1.151 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/1.108, allocations: 28 kB / 1.151 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006245/1.114, allocations: 2.102 MB / 1.153 GB, free: 6.527 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.01644/1.13, allocations: 8.442 MB / 1.161 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/1.136, allocations: 1.68 MB / 1.163 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/1.138, allocations: 0.7481 MB / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006778/1.145, allocations: 3.886 MB / 1.168 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.145, allocations: 39.12 kB / 1.168 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/1.146, allocations: 182.7 kB / 1.168 GB, free: 6.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 3.025e-06/1.146, allocations: 0 / 1.168 GB, free: 6.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.01362/1.159, allocations: 3.124 MB / 1.171 GB, free: 3.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/1.16, allocations: 59.97 kB / 1.171 GB, free: 3.535 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/1.164, allocations: 2.618 MB / 1.173 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/1.164, allocations: 41.7 kB / 1.173 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.165, allocations: 1.107 MB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/1.166, allocations: 213 kB / 1.175 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/1.166, allocations: 342.4 kB / 1.175 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.166, allocations: 309 kB / 1.175 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/1.169, allocations: 0.944 MB / 1.176 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/1.172, allocations: 1.367 MB / 1.178 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/1.177, allocations: 2.057 MB / 1.18 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.177, allocations: 0 / 1.18 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008041/1.185, allocations: 2.782 MB / 1.182 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.185, allocations: 9.25 kB / 1.182 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/1.185, allocations: 12 kB / 1.182 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.187, allocations: 0.5165 MB / 1.183 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/1.189, allocations: 383.4 kB / 1.183 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.191, allocations: 1.126 MB / 1.184 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.194, allocations: 279.8 kB / 1.185 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/1.194, allocations: 75.95 kB / 1.185 GB, free: 4.98 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 (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.001361/1.196, allocations: 0.5567 MB / 1.185 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007435/1.196, allocations: 240.8 kB / 1.185 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/1.203, allocations: 2.112 MB / 1.187 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.203, allocations: 7.984 kB / 1.188 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.203, allocations: 4 kB / 1.188 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.203, allocations: 0 / 1.188 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/1.216, allocations: 4.126 MB / 1.192 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/1.216, allocations: 4 kB / 1.192 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.217, allocations: 208.1 kB / 1.192 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/1.219, allocations: 0.4926 MB / 1.192 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/1.219, allocations: 27.97 kB / 1.192 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/1.221, allocations: 1.103 MB / 1.193 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.221, allocations: 11.94 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007524/1.229, allocations: 2.212 MB / 1.195 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.23, allocations: 0.4898 MB / 1.196 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/1.231, allocations: 23.94 kB / 1.196 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.233, allocations: 199.8 kB / 1.196 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.233, allocations: 52.38 kB / 1.196 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.233, allocations: 43.95 kB / 1.196 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003478/1.237, allocations: 1.8 MB / 1.198 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/1.237, allocations: 4 kB / 1.198 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002973/1.24, allocations: 0.7294 MB / 1.199 GB, free: 6.312 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 (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.001715/1.241, allocations: 0.6811 MB / 1.199 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006889/1.248, allocations: 2.084 MB / 1.201 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.248, allocations: 0.5 kB / 1.201 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00308/1.251, allocations: 0.8741 MB / 1.202 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/1.257, allocations: 1.164 MB / 1.203 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.267, allocations: 4.925 MB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.269, allocations: 1.633 MB / 1.21 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002702/1.272, allocations: 464.3 kB / 1.21 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/1.272, allocations: 195.3 kB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of SimCode: time 1.092e-06/1.272, allocations: 0 / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.6957/1.968, allocations: 49.03 MB / 1.258 GB, free: 221.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=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