Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.008292/0.008292, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.00184/0.00184, allocations: 195 kB / 16.67 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7453 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 71.89 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.976, allocations: 159.9 MB / 1.226 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05482/1.031, allocations: 53.49 MB / 1.278 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02077/1.052, allocations: 11.48 MB / 1.289 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/1.055, allocations: 71.56 kB / 1.289 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/1.058, allocations: 0.7567 MB / 1.29 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/1.066, allocations: 2.161 MB / 1.292 GB, free: 9.41 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/1.07, allocations: 1.384 MB / 1.293 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007123/1.077, allocations: 3.926 MB / 1.297 GB, free: 4.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/1.08, allocations: 1.284 MB / 1.298 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/1.084, allocations: 1.404 MB / 1.3 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/1.087, allocations: 1.085 MB / 1.301 GB, free: 300 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008311/1.088, allocations: 136 kB / 1.301 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/1.093, allocations: 1.041 MB / 1.302 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000883/1.094, allocations: 446.5 kB / 1.302 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.096, allocations: 0.8551 MB / 1.303 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006866/1.103, allocations: 2.584 MB / 1.306 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.103, allocations: 0 / 1.306 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/1.103, allocations: 3.938 kB / 1.306 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000104/1.103, allocations: 0 / 1.306 GB, free: 11.23 MB / 1.029 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.005832/1.109, allocations: 2.075 MB / 1.308 GB, free: 9.094 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.109, allocations: 8.031 kB / 1.308 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/1.113, allocations: 0.5813 MB / 1.308 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/1.116, allocations: 1.408 MB / 1.31 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.116, allocations: 115.7 kB / 1.31 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.116, allocations: 96 kB / 1.31 GB, free: 6.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/1.119, allocations: 1.358 MB / 1.311 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.119, allocations: 3.938 kB / 1.311 GB, free: 5.434 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.119, allocations: 43.98 kB / 1.311 GB, free: 5.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/1.12, allocations: 20 kB / 1.311 GB, free: 5.371 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/1.123, allocations: 1.432 MB / 1.313 GB, free: 3.941 MB / 1.029 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.008351/1.132, allocations: 5.367 MB / 1.318 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/1.134, allocations: 1.082 MB / 1.319 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.136, allocations: 0.5982 MB / 1.32 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008337/1.137, allocations: 1.073 MB / 1.321 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/1.139, allocations: 0.6744 MB / 1.321 GB, free: 10.64 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/1.139, allocations: 4 kB / 1.321 GB, free: 10.64 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005158/1.144, allocations: 1.759 MB / 1.323 GB, free: 8.871 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.144, allocations: 59.97 kB / 1.323 GB, free: 8.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/1.146, allocations: 1.417 MB / 1.324 GB, free: 7.375 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-05/1.146, allocations: 37.7 kB / 1.324 GB, free: 7.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/1.146, allocations: 0.651 MB / 1.325 GB, free: 6.672 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/1.147, allocations: 218.1 kB / 1.325 GB, free: 6.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.147, allocations: 166.5 kB / 1.325 GB, free: 6.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.147, allocations: 337.9 kB / 1.326 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/1.149, allocations: 0.5562 MB / 1.326 GB, free: 5.395 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.15, allocations: 0.7535 MB / 1.327 GB, free: 4.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/1.154, allocations: 1.185 MB / 1.328 GB, free: 3.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.154, allocations: 0 / 1.328 GB, free: 3.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004013/1.158, allocations: 1.445 MB / 1.33 GB, free: 1.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.158, allocations: 11.94 kB / 1.33 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.158, allocations: 4.438 kB / 1.33 GB, free: 1.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.158, allocations: 12 kB / 1.33 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/1.159, allocations: 247.6 kB / 1.33 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.159, allocations: 11.98 kB / 1.33 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.161, allocations: 191.1 kB / 1.33 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/1.161, allocations: 39.97 kB / 1.33 GB, free: 1.352 MB / 1.045 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.0006881/1.161, allocations: 353.6 kB / 1.331 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/1.162, allocations: 163 kB / 1.331 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/1.165, allocations: 1.422 MB / 1.332 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.165, allocations: 4 kB / 1.332 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.165, allocations: 4 kB / 1.332 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003207/1.169, allocations: 1.259 MB / 1.333 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/1.175, allocations: 2.961 MB / 1.336 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.175, allocations: 4 kB / 1.336 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.176, allocations: 207.9 kB / 1.336 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.176, allocations: 4 kB / 1.336 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/1.176, allocations: 27.97 kB / 1.336 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/1.176, allocations: 4 kB / 1.336 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.176, allocations: 7.984 kB / 1.336 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005667/1.182, allocations: 2.235 MB / 1.339 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/1.183, allocations: 367.9 kB / 1.339 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.183, allocations: 12 kB / 1.339 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.184, allocations: 115.8 kB / 1.339 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.184, allocations: 56.38 kB / 1.339 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/1.184, allocations: 39.95 kB / 1.339 GB, free: 7.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001686/1.186, allocations: 0.9948 MB / 1.34 GB, free: 6.938 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.186, allocations: 3.938 kB / 1.34 GB, free: 6.934 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001732/1.188, allocations: 471 kB / 1.341 GB, free: 6.473 MB / 1.061 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.001258/1.189, allocations: 457.6 kB / 1.341 GB, free: 6.023 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003773/1.193, allocations: 1.277 MB / 1.342 GB, free: 4.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.193, allocations: 4.375 kB / 1.342 GB, free: 4.746 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/1.195, allocations: 0.6555 MB / 1.343 GB, free: 4.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.198, allocations: 0.7598 MB / 1.344 GB, free: 3.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/1.204, allocations: 2.679 MB / 1.346 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/1.204, allocations: 1.221 MB / 1.347 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001298/1.206, allocations: 310.6 kB / 1.348 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/1.206, allocations: 123.4 kB / 1.348 GB, free: 14.93 MB / 1.076 GB Notification: Performance of SimCode: time 1.152e-06/1.206, allocations: 4 kB / 1.348 GB, free: 14.92 MB / 1.076 GB Notification: Performance of Templates: time 0.0517/1.258, allocations: 30.49 MB / 1.378 GB, free: 0.7656 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches