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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 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.001548/0.001548, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.61/2.61, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8392, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0578/0.8971, allocations: 53.46 MB / 1.002 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.916, allocations: 11.5 MB / 1.013 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.9196, allocations: 63.62 kB / 1.013 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/0.9224, allocations: 0.7549 MB / 1.014 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.9298, allocations: 2.168 MB / 1.016 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.9338, allocations: 1.357 MB / 1.017 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.9401, allocations: 3.929 MB / 1.021 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.9429, allocations: 1.279 MB / 1.022 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.9477, allocations: 1.389 MB / 1.024 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.9498, allocations: 1.081 MB / 1.025 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.9502, allocations: 144 kB / 1.025 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.9527, allocations: 1.037 MB / 1.026 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004479/0.9532, allocations: 446.5 kB / 1.026 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.9543, allocations: 0.8474 MB / 1.027 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004019/0.9583, allocations: 2.551 MB / 1.03 GB, free: 15.6 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.9583, allocations: 0 / 1.03 GB, free: 15.6 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9583, allocations: 0 / 1.03 GB, free: 15.6 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.9584, allocations: 0 / 1.03 GB, free: 15.6 MB / 0.795 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.004183/0.9626, allocations: 2.018 MB / 1.032 GB, free: 13.53 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.9626, allocations: 8.031 kB / 1.032 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.966, allocations: 0.5725 MB / 1.032 GB, free: 12.95 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.9684, allocations: 1.329 MB / 1.033 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.9686, allocations: 119.6 kB / 1.034 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.9688, allocations: 100 kB / 1.034 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.9719, allocations: 1.354 MB / 1.035 GB, free: 9.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.9719, allocations: 0 / 1.035 GB, free: 9.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.972, allocations: 36 kB / 1.035 GB, free: 9.918 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.9721, allocations: 31.98 kB / 1.035 GB, free: 9.887 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.9758, allocations: 1.429 MB / 1.036 GB, free: 8.453 MB / 0.795 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.008629/0.9844, allocations: 5.405 MB / 1.042 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.9873, allocations: 1.066 MB / 1.043 GB, free: 1.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.9889, allocations: 0.5997 MB / 1.043 GB, free: 1.125 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009203/0.9898, allocations: 1.069 MB / 1.044 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.9916, allocations: 0.6783 MB / 1.045 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.985e-06/0.9916, allocations: 0 / 1.045 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.00522/0.9968, allocations: 1.754 MB / 1.047 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.9969, allocations: 55.97 kB / 1.047 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.999, allocations: 1.413 MB / 1.048 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.9992, allocations: 37.7 kB / 1.048 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/0.9998, allocations: 0.654 MB / 1.049 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1, allocations: 201.1 kB / 1.049 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/1, allocations: 170.5 kB / 1.049 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1, allocations: 338 kB / 1.05 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.002, allocations: 0.5484 MB / 1.05 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.004, allocations: 0.7496 MB / 1.051 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.007, allocations: 1.201 MB / 1.052 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/1.007, allocations: 0 / 1.052 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004051/1.011, allocations: 1.433 MB / 1.053 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.011, allocations: 15.88 kB / 1.053 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.011, allocations: 4 kB / 1.053 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/1.011, allocations: 8 kB / 1.053 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.013, allocations: 247.7 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/1.013, allocations: 11.94 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.014, allocations: 190.8 kB / 1.054 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/1.014, allocations: 39.97 kB / 1.054 GB, free: 5.867 MB / 0.8106 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.0007667/1.015, allocations: 365.5 kB / 1.054 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/1.015, allocations: 146.2 kB / 1.054 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/1.019, allocations: 1.411 MB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.019, allocations: 8 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.019, allocations: 4 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/1.023, allocations: 1.267 MB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/1.029, allocations: 2.953 MB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.029, allocations: 4.094 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.03, allocations: 211.9 kB / 1.06 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.03, allocations: 4 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/1.03, allocations: 27.97 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.03, allocations: 11.94 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.03, allocations: 3.938 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005585/1.036, allocations: 2.223 MB / 1.062 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/1.037, allocations: 355 kB / 1.063 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.037, allocations: 16 kB / 1.063 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.038, allocations: 119.8 kB / 1.063 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.038, allocations: 52.44 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/1.039, allocations: 39.95 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001512/1.04, allocations: 0.9947 MB / 1.064 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/1.04, allocations: 0 / 1.064 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001424/1.042, allocations: 463.3 kB / 1.064 GB, free: 11.02 MB / 0.8262 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.0009664/1.042, allocations: 461.2 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003867/1.046, allocations: 1.336 MB / 1.066 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.046, allocations: 0 / 1.066 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/1.048, allocations: 0.6519 MB / 1.067 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.052, allocations: 0.7721 MB / 1.067 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/1.057, allocations: 2.674 MB / 1.07 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/1.058, allocations: 1.225 MB / 1.071 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001444/1.059, allocations: 303.4 kB / 1.072 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.059, allocations: 123.4 kB / 1.072 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of SimCode: time 1.213e-06/1.059, allocations: 0 / 1.072 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.0508/1.11, allocations: 30.3 MB / 1.101 GB, free: 5.492 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches