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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008165/0.008165, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001764/0.001764, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 63.92 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3261, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.07797/0.4042, allocations: 74.25 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02995/0.4341, allocations: 21.63 MB / 1.146 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004343/0.4385, allocations: 87.5 kB / 1.146 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.4492, allocations: 4.335 MB / 1.151 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008841/0.4581, allocations: 2.839 MB / 1.153 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/0.4645, allocations: 1.958 MB / 1.155 GB, free: 14.87 MB / 0.92 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01461/0.4791, allocations: 9.674 MB / 1.165 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.483, allocations: 1.726 MB / 1.167 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/0.4877, allocations: 1.851 MB / 1.168 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.4905, allocations: 1.59 MB / 1.17 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007212/0.4913, allocations: 120 kB / 1.17 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.4963, allocations: 1.922 MB / 1.172 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.4975, allocations: 0.6888 MB / 1.173 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.5004, allocations: 1.301 MB / 1.174 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005187/0.5056, allocations: 3.379 MB / 1.177 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5056, allocations: 0 / 1.177 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5056, allocations: 0 / 1.177 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001821/0.5058, allocations: 0 / 1.177 GB, free: 8.516 MB / 0.9356 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.007792/0.5136, allocations: 3.198 MB / 1.18 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5137, allocations: 8.031 kB / 1.18 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/0.5209, allocations: 1.148 MB / 1.181 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006542/0.5275, allocations: 2.949 MB / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/0.5286, allocations: 319.9 kB / 1.185 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004987/0.5292, allocations: 135.9 kB / 1.185 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/0.5346, allocations: 1.935 MB / 1.187 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.5347, allocations: 0 / 1.187 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.5349, allocations: 52 kB / 1.187 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.5349, allocations: 35.98 kB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/0.5412, allocations: 2.102 MB / 1.189 GB, free: 12.41 MB / 0.9512 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.01536/0.5566, allocations: 8.446 MB / 1.197 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.5619, allocations: 1.682 MB / 1.199 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.5642, allocations: 0.7519 MB / 1.199 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006816/0.571, allocations: 3.871 MB / 1.203 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.5711, allocations: 43.06 kB / 1.203 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001319/0.5724, allocations: 222.6 kB / 1.203 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 4.889e-06/0.5724, allocations: 0 / 1.203 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.01321/0.5857, allocations: 3.046 MB / 1.206 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.5857, allocations: 59.91 kB / 1.206 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.5905, allocations: 2.626 MB / 1.209 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.5907, allocations: 37.7 kB / 1.209 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.5921, allocations: 1.103 MB / 1.21 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.5925, allocations: 221 kB / 1.21 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/0.5932, allocations: 334.5 kB / 1.211 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5934, allocations: 305.1 kB / 1.211 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/0.596, allocations: 0.9323 MB / 1.212 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.5989, allocations: 1.352 MB / 1.213 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/0.6037, allocations: 2.029 MB / 1.215 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.6038, allocations: 4 kB / 1.215 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008772/0.6125, allocations: 2.831 MB / 1.218 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.6126, allocations: 16.05 kB / 1.218 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6126, allocations: 16 kB / 1.218 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.6139, allocations: 0.4926 MB / 1.218 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.6156, allocations: 383.4 kB / 1.219 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.618, allocations: 1.11 MB / 1.22 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.6208, allocations: 279.8 kB / 1.22 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.6211, allocations: 71.97 kB / 1.22 GB, free: 10.93 MB / 0.9825 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.001272/0.6223, allocations: 0.5636 MB / 1.221 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/0.623, allocations: 240.9 kB / 1.221 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/0.6298, allocations: 2.055 MB / 1.223 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.6299, allocations: 4 kB / 1.223 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6299, allocations: 11.88 kB / 1.223 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6299, allocations: 3.984 kB / 1.223 GB, free: 8.039 MB / 0.9825 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.01049/0.6404, allocations: 4.076 MB / 1.227 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6404, allocations: 8.031 kB / 1.227 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6416, allocations: 203.7 kB / 1.227 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.6428, allocations: 484.4 kB / 1.228 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.6429, allocations: 27.97 kB / 1.228 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.6451, allocations: 1.087 MB / 1.229 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6451, allocations: 0 / 1.229 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007152/0.6522, allocations: 2.163 MB / 1.231 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.6534, allocations: 489.7 kB / 1.231 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005883/0.654, allocations: 16 kB / 1.231 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/0.6563, allocations: 211.6 kB / 1.231 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6564, allocations: 48.44 kB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.6566, allocations: 43.95 kB / 1.232 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003531/0.6601, allocations: 1.808 MB / 1.233 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6601, allocations: 4 kB / 1.233 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002504/0.6626, allocations: 0.7178 MB / 1.234 GB, free: 12.44 MB / 0.9981 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.001667/0.6643, allocations: 0.6927 MB / 1.235 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006139/0.6705, allocations: 1.993 MB / 1.237 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.6705, allocations: 1.75 kB / 1.237 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.6733, allocations: 0.843 MB / 1.237 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/0.679, allocations: 1.099 MB / 1.239 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.6886, allocations: 4.994 MB / 1.243 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.6903, allocations: 1.629 MB / 1.245 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009811/0.6913, allocations: 195.3 kB / 1.245 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.6913, allocations: 0 / 1.245 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of Templates: time 0.5431/1.234, allocations: 51.87 MB / 1.296 GB, free: 162.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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