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.001533/0.001533, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00169/0.00169, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.213/2.213, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 64.28 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2682, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05172/0.32, allocations: 53.46 MB / 1.002 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.3355, allocations: 11.48 MB / 1.014 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.3377, allocations: 63.62 kB / 1.014 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.34, allocations: 0.7609 MB / 1.014 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006422/0.3465, allocations: 2.161 MB / 1.017 GB, free: 4.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.3502, allocations: 1.37 MB / 1.018 GB, free: 3.359 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005561/0.3557, allocations: 3.929 MB / 1.022 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.3577, allocations: 1.279 MB / 1.023 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.3607, allocations: 1.391 MB / 1.024 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.3623, allocations: 1.085 MB / 1.025 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.3626, allocations: 140 kB / 1.026 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.365, allocations: 1.037 MB / 1.027 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.3654, allocations: 442.5 kB / 1.027 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009477/0.3664, allocations: 0.8513 MB / 1.028 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.3701, allocations: 2.539 MB / 1.03 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3702, allocations: 4 kB / 1.03 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3702, allocations: 0 / 1.03 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.3702, allocations: 4 kB / 1.03 GB, free: 6.605 MB / 0.8106 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.003693/0.3739, allocations: 2.026 MB / 1.032 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.374, allocations: 8.031 kB / 1.032 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.3774, allocations: 0.5764 MB / 1.033 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.3798, allocations: 1.329 MB / 1.034 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3799, allocations: 123.6 kB / 1.034 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3801, allocations: 92 kB / 1.034 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.3831, allocations: 1.358 MB / 1.036 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.3831, allocations: 0 / 1.036 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.3832, allocations: 36 kB / 1.036 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.3833, allocations: 27.94 kB / 1.036 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.3871, allocations: 1.429 MB / 1.037 GB, free: 15.45 MB / 0.8262 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.008705/0.3958, allocations: 5.397 MB / 1.042 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.3989, allocations: 1.069 MB / 1.043 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.4005, allocations: 0.601 MB / 1.044 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009569/0.4015, allocations: 1.077 MB / 1.045 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.4033, allocations: 0.6705 MB / 1.046 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 4.738e-06/0.4033, allocations: 0 / 1.046 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.005383/0.4087, allocations: 1.758 MB / 1.047 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.4088, allocations: 59.97 kB / 1.048 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/0.4112, allocations: 1.409 MB / 1.049 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.4114, allocations: 45.7 kB / 1.049 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006372/0.412, allocations: 0.6501 MB / 1.05 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.4123, allocations: 205 kB / 1.05 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.4127, allocations: 166.5 kB / 1.05 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4129, allocations: 330 kB / 1.05 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.4146, allocations: 0.5484 MB / 1.051 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.4164, allocations: 0.7613 MB / 1.052 GB, free: 76 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/0.4196, allocations: 1.189 MB / 1.053 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.4196, allocations: 4 kB / 1.053 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004069/0.4237, allocations: 1.436 MB / 1.054 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.4238, allocations: 11.94 kB / 1.054 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.4238, allocations: 4 kB / 1.054 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.4238, allocations: 11.94 kB / 1.054 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.4251, allocations: 248.1 kB / 1.054 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.4251, allocations: 11.94 kB / 1.054 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4267, allocations: 194.8 kB / 1.055 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4269, allocations: 43.97 kB / 1.055 GB, free: 12.86 MB / 0.8419 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.0006937/0.4276, allocations: 357.5 kB / 1.055 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.428, allocations: 146.2 kB / 1.055 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.432, allocations: 1.407 MB / 1.056 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.432, allocations: 15.98 kB / 1.056 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.432, allocations: 0 / 1.056 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003321/0.4353, allocations: 1.259 MB / 1.058 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006408/0.4418, allocations: 2.953 MB / 1.061 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4418, allocations: 7.938 kB / 1.061 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.443, allocations: 211.8 kB / 1.061 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.443, allocations: 4 kB / 1.061 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.4431, allocations: 23.97 kB / 1.061 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4431, allocations: 4 kB / 1.061 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4431, allocations: 7.938 kB / 1.061 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.4486, allocations: 2.223 MB / 1.063 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.4493, allocations: 354.9 kB / 1.063 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.4496, allocations: 20.16 kB / 1.063 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.451, allocations: 123.7 kB / 1.063 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.4512, allocations: 60.36 kB / 1.064 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/0.4513, allocations: 35.97 kB / 1.064 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001566/0.4528, allocations: 0.9947 MB / 1.065 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4529, allocations: 0 / 1.065 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001398/0.4543, allocations: 463.4 kB / 1.065 GB, free: 2.02 MB / 0.8419 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.0009633/0.4552, allocations: 459.2 kB / 1.065 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003942/0.4592, allocations: 1.324 MB / 1.067 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.4592, allocations: 4 kB / 1.067 GB, free: 244 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.4611, allocations: 0.6597 MB / 1.067 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/0.4649, allocations: 0.7686 MB / 1.068 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005229/0.4701, allocations: 2.726 MB / 1.071 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009247/0.471, allocations: 1.217 MB / 1.072 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.4716, allocations: 139.3 kB / 1.072 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.4716, allocations: 0 / 1.072 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.4596/0.9312, allocations: 26.38 MB / 1.098 GB, free: 125.1 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/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