Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001506/0.001506, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8492, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05804/0.9073, allocations: 53.46 MB / 1.141 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.926, allocations: 11.49 MB / 1.152 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.9297, allocations: 67.09 kB / 1.152 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.9329, allocations: 0.7765 MB / 1.153 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008505/0.9415, allocations: 2.271 MB / 1.155 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.9464, allocations: 1.387 MB / 1.156 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00769/0.9541, allocations: 3.942 MB / 1.16 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.9571, allocations: 1.279 MB / 1.162 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.962, allocations: 1.435 MB / 1.163 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.9652, allocations: 1.077 MB / 1.164 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.9658, allocations: 142.4 kB / 1.164 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.9699, allocations: 1.055 MB / 1.165 GB, free: 164 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008293/0.9707, allocations: 440 kB / 1.166 GB, free: 15.92 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.9728, allocations: 0.851 MB / 1.166 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.9796, allocations: 2.583 MB / 1.169 GB, free: 14.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9797, allocations: 0.7031 kB / 1.169 GB, free: 14.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9797, allocations: 1.125 kB / 1.169 GB, free: 14.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.664e-05/0.9797, allocations: 0 / 1.169 GB, free: 14.39 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004903/0.9847, allocations: 2.017 MB / 1.171 GB, free: 12.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9847, allocations: 9.25 kB / 1.171 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.9884, allocations: 0.5717 MB / 1.171 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.9915, allocations: 1.402 MB / 1.173 GB, free: 11.62 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.9917, allocations: 117.2 kB / 1.173 GB, free: 11.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.9919, allocations: 99.25 kB / 1.173 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.9953, allocations: 1.355 MB / 1.174 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.9954, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.9955, allocations: 37.44 kB / 1.174 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.9955, allocations: 27.94 kB / 1.174 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.9996, allocations: 1.428 MB / 1.176 GB, free: 10 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.009852/1.009, allocations: 5.354 MB / 1.181 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/1.013, allocations: 1.07 MB / 1.182 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.014, allocations: 0.5992 MB / 1.183 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/1.015, allocations: 1.065 MB / 1.184 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/1.017, allocations: 0.6801 MB / 1.184 GB, free: 3.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/1.017, allocations: 5.5 kB / 1.184 GB, free: 3.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005704/1.023, allocations: 1.749 MB / 1.186 GB, free: 2.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/1.023, allocations: 58.53 kB / 1.186 GB, free: 2.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/1.025, allocations: 1.416 MB / 1.188 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001769/1.026, allocations: 38.27 kB / 1.188 GB, free: 1.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/1.026, allocations: 0.6428 MB / 1.188 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/1.027, allocations: 210.8 kB / 1.188 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.027, allocations: 167.1 kB / 1.189 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.027, allocations: 340.3 kB / 1.189 GB, free: 376 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/1.029, allocations: 0.5529 MB / 1.189 GB, free: 108 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.031, allocations: 0.7483 MB / 1.19 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.034, allocations: 1.186 MB / 1.191 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.035, allocations: 10.41 kB / 1.191 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004518/1.039, allocations: 1.434 MB / 1.193 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.039, allocations: 12.03 kB / 1.193 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/1.039, allocations: 8.312 kB / 1.193 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/1.039, allocations: 12.41 kB / 1.193 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.04, allocations: 247 kB / 1.193 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/1.041, allocations: 12.11 kB / 1.193 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.043, allocations: 195.8 kB / 1.193 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.043, allocations: 38.75 kB / 1.193 GB, free: 14.01 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008532/1.044, allocations: 368.1 kB / 1.194 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/1.044, allocations: 146.7 kB / 1.194 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/1.048, allocations: 1.411 MB / 1.195 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/1.048, allocations: 7.469 kB / 1.195 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.048, allocations: 0 / 1.195 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003457/1.052, allocations: 1.262 MB / 1.196 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006809/1.059, allocations: 2.971 MB / 1.199 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.059, allocations: 6.734 kB / 1.199 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.06, allocations: 204.4 kB / 1.199 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/1.06, allocations: 4.188 kB / 1.199 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/1.06, allocations: 29 kB / 1.199 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.06, allocations: 4.469 kB / 1.199 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.06, allocations: 1.969 kB / 1.199 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/1.066, allocations: 2.23 MB / 1.202 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.067, allocations: 356 kB / 1.202 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/1.067, allocations: 14.06 kB / 1.202 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.068, allocations: 114.7 kB / 1.202 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.069, allocations: 50.47 kB / 1.202 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.069, allocations: 37.23 kB / 1.202 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001622/1.07, allocations: 0.9971 MB / 1.203 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.07, allocations: 7.938 kB / 1.203 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001622/1.072, allocations: 455.4 kB / 1.204 GB, free: 7.199 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/1.073, allocations: 462.5 kB / 1.204 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003672/1.077, allocations: 1.277 MB / 1.205 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.077, allocations: 4.375 kB / 1.205 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.079, allocations: 0.6555 MB / 1.206 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.083, allocations: 0.7679 MB / 1.207 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/1.088, allocations: 2.687 MB / 1.209 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008272/1.089, allocations: 1.221 MB / 1.21 GB, free: 60 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/1.09, allocations: 139.4 kB / 1.211 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of SimCode: time 9.82e-07/1.09, allocations: 0 / 1.211 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of Templates: time 0.04481/1.135, allocations: 26.55 MB / 1.237 GB, free: 5.574 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches