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.001059/0.001059, allocations: 88.77 kB / 16.02 MB, free: 80 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.001448/0.001448, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.702/2.702, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 10.53 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.0754/0.396, allocations: 72.93 MB / 1.131 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03045/0.4265, allocations: 21.38 MB / 1.151 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.431, allocations: 83.5 kB / 1.151 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.009298/0.4403, allocations: 4.317 MB / 1.156 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009816/0.4501, allocations: 2.846 MB / 1.158 GB, free: 15.1 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.4562, allocations: 1.966 MB / 1.16 GB, free: 13.15 MB / 0.92 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.01626/0.4725, allocations: 9.667 MB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004081/0.4766, allocations: 1.668 MB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.4815, allocations: 1.792 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.4847, allocations: 1.528 MB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007582/0.4855, allocations: 91.94 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005217/0.4907, allocations: 1.898 MB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.4919, allocations: 0.6498 MB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002673/0.4946, allocations: 1.28 MB / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.4999, allocations: 3.304 MB / 1.182 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4999, allocations: 0 / 1.182 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.611e-06/0.4999, allocations: 0 / 1.182 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001398/0.5001, allocations: 7.938 kB / 1.182 GB, free: 7.164 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.006915/0.507, allocations: 2.704 MB / 1.184 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.507, allocations: 16.03 kB / 1.184 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007331/0.5144, allocations: 1.257 MB / 1.186 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.5208, allocations: 2.949 MB / 1.189 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001193/0.5221, allocations: 343.9 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.5226, allocations: 140 kB / 1.189 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005476/0.5281, allocations: 1.986 MB / 1.191 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.5281, allocations: 4 kB / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.5283, allocations: 55.94 kB / 1.191 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.5284, allocations: 28 kB / 1.191 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006532/0.5349, allocations: 2.195 MB / 1.193 GB, free: 11.27 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.01572/0.5506, allocations: 8.532 MB / 1.202 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005492/0.5562, allocations: 1.775 MB / 1.203 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.5586, allocations: 0.791 MB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006513/0.5651, allocations: 3.871 MB / 1.208 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.5652, allocations: 43.11 kB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/0.5664, allocations: 218.7 kB / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 6.462e-06/0.5664, allocations: 0 / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.01396/0.5804, allocations: 3.324 MB / 1.211 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5804, allocations: 63.95 kB / 1.211 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005049/0.5855, allocations: 2.622 MB / 1.214 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.5857, allocations: 45.64 kB / 1.214 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.5868, allocations: 1.115 MB / 1.215 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/0.5871, allocations: 213 kB / 1.215 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.5873, allocations: 145.6 kB / 1.215 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5875, allocations: 309.1 kB / 1.216 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.5902, allocations: 0.9714 MB / 1.217 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.5933, allocations: 1.411 MB / 1.218 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/0.5984, allocations: 2.119 MB / 1.22 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.5985, allocations: 4 kB / 1.22 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00927/0.6077, allocations: 2.98 MB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.6078, allocations: 8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.6078, allocations: 12 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.6092, allocations: 0.5278 MB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.611, allocations: 395.4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6134, allocations: 1.165 MB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.6165, allocations: 301.5 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/0.6168, allocations: 71.89 kB / 1.225 GB, free: 9.02 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.001471/0.6182, allocations: 0.5598 MB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/0.6189, allocations: 240.9 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007146/0.6261, allocations: 2.176 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.6261, allocations: 8 kB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/0.6262, allocations: 3.938 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6262, allocations: 3.984 kB / 1.228 GB, free: 6.012 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.01099/0.6372, allocations: 4.193 MB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6372, allocations: 4 kB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.6384, allocations: 223.7 kB / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.6396, allocations: 0.4926 MB / 1.233 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-05/0.6398, allocations: 31.95 kB / 1.233 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.6421, allocations: 1.146 MB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6422, allocations: 4 kB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007619/0.6498, allocations: 2.284 MB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.6513, allocations: 0.4898 MB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000764/0.6521, allocations: 19.98 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/0.6545, allocations: 239.6 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.6547, allocations: 44.44 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.6548, allocations: 43.95 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003975/0.6588, allocations: 1.808 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.62e-07/0.6588, allocations: 0 / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002902/0.6617, allocations: 0.7294 MB / 1.24 GB, free: 10.02 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.001911/0.6636, allocations: 0.6847 MB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.6701, allocations: 2.095 MB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6702, allocations: 0 / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003102/0.6733, allocations: 0.9138 MB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/0.6809, allocations: 1.13 MB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009959/0.6908, allocations: 5.062 MB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.633/1.324, allocations: 1.621 MB / 1.251 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.325, allocations: 205.8 kB / 1.251 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/1.325, allocations: 0 / 1.251 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.09976/1.425, allocations: 51.5 MB / 1.302 GB, free: 159.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