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.001702/0.001702, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001901/0.001901, allocations: 192.8 kB / 16.13 MB, free: 6.648 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7459, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05609/0.802, allocations: 53.13 MB / 1.001 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.8249, allocations: 11.56 MB / 1.012 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/0.8287, allocations: 55.62 kB / 1.012 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.8315, allocations: 0.6196 MB / 1.013 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00773/0.8392, allocations: 1.998 MB / 1.015 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.8435, allocations: 1.25 MB / 1.016 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007651/0.8512, allocations: 5.049 MB / 1.021 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.8531, allocations: 1.083 MB / 1.022 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.8559, allocations: 1.194 MB / 1.023 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.8576, allocations: 1.1 MB / 1.024 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.8578, allocations: 68 kB / 1.024 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.8606, allocations: 0.9432 MB / 1.025 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/0.861, allocations: 374.5 kB / 1.025 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.8621, allocations: 0.7926 MB / 1.026 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.8661, allocations: 2.504 MB / 1.029 GB, free: 168 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8661, allocations: 0 / 1.029 GB, free: 168 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.183e-06/0.8661, allocations: 0 / 1.029 GB, free: 168 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.8662, allocations: 0 / 1.029 GB, free: 168 kB / 0.7794 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.004453/0.8706, allocations: 2.018 MB / 1.031 GB, free: 14.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.8707, allocations: 12.03 kB / 1.031 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.8743, allocations: 0.5686 MB / 1.031 GB, free: 13.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.8772, allocations: 1.368 MB / 1.033 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.8774, allocations: 123.6 kB / 1.033 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.8776, allocations: 92 kB / 1.033 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.881, allocations: 1.362 MB / 1.034 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.881, allocations: 3.906 kB / 1.034 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8811, allocations: 36 kB / 1.034 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.8812, allocations: 24 kB / 1.034 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.885, allocations: 1.429 MB / 1.036 GB, free: 8.98 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.008829/0.8938, allocations: 5.374 MB / 1.041 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/0.8968, allocations: 1.073 MB / 1.042 GB, free: 2.277 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.8985, allocations: 0.5958 MB / 1.042 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008641/0.8993, allocations: 1.069 MB / 1.044 GB, free: 376 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.9011, allocations: 0.6745 MB / 1.044 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 3.577e-06/0.9012, allocations: 0 / 1.044 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.005161/0.9063, allocations: 1.758 MB / 1.046 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.9064, allocations: 59.97 kB / 1.046 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.9084, allocations: 1.394 MB / 1.047 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.9086, allocations: 37.7 kB / 1.047 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.9092, allocations: 0.65 MB / 1.048 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.9094, allocations: 205.1 kB / 1.048 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.9097, allocations: 166.5 kB / 1.048 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9098, allocations: 330 kB / 1.049 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.9114, allocations: 0.5562 MB / 1.049 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.9131, allocations: 0.7496 MB / 1.05 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.9161, allocations: 1.193 MB / 1.051 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9162, allocations: 4 kB / 1.051 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00398/0.9202, allocations: 1.436 MB / 1.052 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.9202, allocations: 11.94 kB / 1.052 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.9202, allocations: 4 kB / 1.052 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.9203, allocations: 11.94 kB / 1.053 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.9215, allocations: 251.9 kB / 1.053 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.9215, allocations: 11.94 kB / 1.053 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.9233, allocations: 218.8 kB / 1.053 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/0.9234, allocations: 39.97 kB / 1.053 GB, free: 6.406 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.0007674/0.9241, allocations: 357.6 kB / 1.053 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.9245, allocations: 150.2 kB / 1.053 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.9282, allocations: 1.414 MB / 1.055 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.9282, allocations: 4 kB / 1.055 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9282, allocations: 4.094 kB / 1.055 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003226/0.9314, allocations: 1.263 MB / 1.056 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/0.9407, allocations: 2.953 MB / 1.059 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.9408, allocations: 0 / 1.059 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.9425, allocations: 208 kB / 1.059 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/0.9425, allocations: 12 kB / 1.059 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.9426, allocations: 27.97 kB / 1.059 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.361e-05/0.9427, allocations: 4 kB / 1.059 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.9427, allocations: 4 kB / 1.059 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00905/0.9517, allocations: 2.219 MB / 1.061 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.9535, allocations: 362.9 kB / 1.062 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/0.9544, allocations: 12 kB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/0.957, allocations: 135.8 kB / 1.062 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.9572, allocations: 56.38 kB / 1.062 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.9574, allocations: 35.95 kB / 1.062 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002585/0.96, allocations: 0.9791 MB / 1.063 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.96, allocations: 4 kB / 1.063 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002433/0.9625, allocations: 459.3 kB / 1.063 GB, free: 11.58 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.001499/0.964, allocations: 438.7 kB / 1.064 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006019/0.97, allocations: 1.27 MB / 1.065 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.9701, allocations: 0 / 1.065 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/0.9736, allocations: 0.6558 MB / 1.066 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008169/0.9818, allocations: 0.7252 MB / 1.066 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.9927, allocations: 3.133 MB / 1.069 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.9945, allocations: 1.225 MB / 1.071 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003316/0.9978, allocations: 303.4 kB / 1.071 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009154/0.9988, allocations: 123.4 kB / 1.071 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of SimCode: time 1.383e-06/0.9988, allocations: 0 / 1.071 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.09374/1.093, allocations: 28.69 MB / 1.099 GB, free: 7.301 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