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.001524/0.001524, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001785/0.001785, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.465/2.465, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 67.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7787, allocations: 140.3 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05038/0.8291, allocations: 53.01 MB / 1.001 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.8482, allocations: 11.42 MB / 1.012 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.8512, allocations: 51.69 kB / 1.012 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002614/0.8539, allocations: 0.6664 MB / 1.013 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.864, allocations: 2.006 MB / 1.015 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.8685, allocations: 1.261 MB / 1.016 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007051/0.8755, allocations: 3.96 MB / 1.02 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.8782, allocations: 1.267 MB / 1.021 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.8827, allocations: 1.426 MB / 1.022 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.885, allocations: 1.12 MB / 1.023 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006038/0.8856, allocations: 140 kB / 1.024 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.8889, allocations: 1.053 MB / 1.025 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007628/0.8896, allocations: 450.5 kB / 1.025 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.8915, allocations: 0.8551 MB / 1.026 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.8971, allocations: 2.559 MB / 1.028 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.111e-05/0.8971, allocations: 4 kB / 1.028 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8971, allocations: 4 kB / 1.028 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001265/0.8973, allocations: 0 / 1.028 GB, free: 0.6211 MB / 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.005775/0.9031, allocations: 2.014 MB / 1.03 GB, free: 14.55 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9031, allocations: 12.03 kB / 1.03 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/0.907, allocations: 0.5686 MB / 1.031 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.9102, allocations: 1.372 MB / 1.032 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.9104, allocations: 111.7 kB / 1.032 GB, free: 12.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.9106, allocations: 92 kB / 1.032 GB, free: 12.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.9142, allocations: 1.358 MB / 1.034 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.9143, allocations: 3.906 kB / 1.034 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.9144, allocations: 36 kB / 1.034 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.9145, allocations: 31.98 kB / 1.034 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.9186, allocations: 1.429 MB / 1.035 GB, free: 9.445 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.01109/0.9298, allocations: 5.374 MB / 1.041 GB, free: 3.824 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.9331, allocations: 1.073 MB / 1.042 GB, free: 2.746 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.9347, allocations: 0.5997 MB / 1.042 GB, free: 2.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/0.9358, allocations: 1.065 MB / 1.043 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.9377, allocations: 0.6783 MB / 1.044 GB, free: 148 kB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 4.108e-06/0.9377, allocations: 0 / 1.044 GB, free: 148 kB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.005741/0.9434, allocations: 1.754 MB / 1.046 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.9435, allocations: 59.97 kB / 1.046 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/0.9468, allocations: 1.394 MB / 1.047 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.947, allocations: 45.64 kB / 1.047 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/0.9479, allocations: 0.6501 MB / 1.048 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.9482, allocations: 205.1 kB / 1.048 GB, free: 12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003996/0.9486, allocations: 162.5 kB / 1.048 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9488, allocations: 338 kB / 1.048 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.9505, allocations: 0.5484 MB / 1.049 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.9523, allocations: 0.7574 MB / 1.05 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.9555, allocations: 1.189 MB / 1.051 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9555, allocations: 0 / 1.051 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004028/0.9595, allocations: 1.433 MB / 1.052 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.9596, allocations: 16 kB / 1.052 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9596, allocations: 4 kB / 1.052 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.9596, allocations: 12 kB / 1.052 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.9609, allocations: 247.6 kB / 1.052 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.961, allocations: 11.94 kB / 1.052 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.9628, allocations: 214.8 kB / 1.053 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.963, allocations: 43.97 kB / 1.053 GB, free: 6.875 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.000743/0.9637, allocations: 353.6 kB / 1.053 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.9642, allocations: 150.2 kB / 1.053 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.9683, allocations: 1.422 MB / 1.055 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.9683, allocations: 8 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9683, allocations: 0 / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003243/0.9716, allocations: 1.259 MB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.9786, allocations: 2.957 MB / 1.059 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.9787, allocations: 4 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.9799, allocations: 203.9 kB / 1.059 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.9799, allocations: 4 kB / 1.059 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/0.98, allocations: 27.91 kB / 1.059 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.98, allocations: 4.094 kB / 1.059 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.98, allocations: 11.94 kB / 1.059 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/0.9858, allocations: 2.227 MB / 1.061 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008926/0.9867, allocations: 354.9 kB / 1.061 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.9871, allocations: 12 kB / 1.061 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.9887, allocations: 143.8 kB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.9889, allocations: 56.38 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.989, allocations: 35.95 kB / 1.062 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002125/0.9912, allocations: 0.983 MB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9912, allocations: 0 / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001837/0.993, allocations: 455.3 kB / 1.063 GB, free: 12.04 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.001136/0.9942, allocations: 442.7 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004159/0.9983, allocations: 1.336 MB / 1.065 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9984, allocations: 0 / 1.065 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/1, allocations: 0.648 MB / 1.065 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/1.005, allocations: 0.7688 MB / 1.066 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/1.01, allocations: 3.123 MB / 1.069 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.012, allocations: 1.229 MB / 1.07 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001771/1.013, allocations: 303.4 kB / 1.071 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/1.014, allocations: 127.4 kB / 1.071 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of SimCode: time 1.192e-06/1.014, allocations: 0 / 1.071 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of Templates: time 0.05849/1.072, allocations: 29.68 MB / 1.1 GB, free: 6.695 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