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.00138/0.00138, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001474/0.001475, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.39 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.314/2.314, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.31 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2618, allocations: 140.4 MB / 0.9498 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05377/0.3156, allocations: 53.03 MB / 1.002 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.3319, allocations: 11.41 MB / 1.013 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.3342, allocations: 55.69 kB / 1.013 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.3365, allocations: 0.6569 MB / 1.013 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.3424, allocations: 2.003 MB / 1.015 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.3461, allocations: 1.266 MB / 1.017 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005615/0.3517, allocations: 3.96 MB / 1.02 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.3542, allocations: 1.283 MB / 1.022 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.3579, allocations: 1.409 MB / 1.023 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.3598, allocations: 1.124 MB / 1.024 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.3603, allocations: 140 kB / 1.024 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.363, allocations: 1.057 MB / 1.025 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.3637, allocations: 438.5 kB / 1.026 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.3652, allocations: 0.859 MB / 1.027 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.3681, allocations: 1.988 MB / 1.029 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3681, allocations: 4 kB / 1.029 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3681, allocations: 0 / 1.029 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.643e-05/0.3682, allocations: 0 / 1.029 GB, free: 8.336 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.004367/0.3726, allocations: 2.026 MB / 1.031 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3726, allocations: 8.031 kB / 1.031 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.3763, allocations: 0.5725 MB / 1.031 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.3788, allocations: 1.36 MB / 1.032 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.379, allocations: 123.7 kB / 1.033 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.3793, allocations: 95.91 kB / 1.033 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/0.3826, allocations: 1.346 MB / 1.034 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3826, allocations: 3.984 kB / 1.034 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.3827, allocations: 51.97 kB / 1.034 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.3828, allocations: 20 kB / 1.034 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.3867, allocations: 1.429 MB / 1.035 GB, free: 1.152 MB / 0.8106 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.009029/0.3957, allocations: 5.358 MB / 1.041 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.3987, allocations: 1.083 MB / 1.042 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4004, allocations: 0.6018 MB / 1.042 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.4011, allocations: 1.069 MB / 1.043 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/0.403, allocations: 0.6705 MB / 1.044 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=60): time 5.059e-06/0.403, allocations: 0 / 1.044 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60): time 0.005176/0.4082, allocations: 1.758 MB / 1.046 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4083, allocations: 59.97 kB / 1.046 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.4105, allocations: 1.397 MB / 1.047 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.4106, allocations: 41.7 kB / 1.047 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.4112, allocations: 0.6384 MB / 1.048 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.4115, allocations: 213 kB / 1.048 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.4118, allocations: 166.4 kB / 1.048 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.412, allocations: 334 kB / 1.048 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.4135, allocations: 0.5484 MB / 1.049 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4153, allocations: 0.7652 MB / 1.05 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.4185, allocations: 1.189 MB / 1.051 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.4185, allocations: 0 / 1.051 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003916/0.4224, allocations: 1.44 MB / 1.052 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4225, allocations: 11.88 kB / 1.052 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4225, allocations: 8 kB / 1.052 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4225, allocations: 8.438 kB / 1.052 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4238, allocations: 247.7 kB / 1.053 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/0.4238, allocations: 15.92 kB / 1.053 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4255, allocations: 210.8 kB / 1.053 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4256, allocations: 43.97 kB / 1.053 GB, free: 14.58 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.0006876/0.4263, allocations: 353.6 kB / 1.053 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/0.4267, allocations: 146.2 kB / 1.053 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.4306, allocations: 1.415 MB / 1.055 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.4307, allocations: 8 kB / 1.055 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4307, allocations: 0 / 1.055 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003239/0.4339, allocations: 1.271 MB / 1.056 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006345/0.4403, allocations: 2.953 MB / 1.059 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4404, allocations: 4 kB / 1.059 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.4415, allocations: 204 kB / 1.059 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4416, allocations: 4 kB / 1.059 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.442e-05/0.4417, allocations: 23.97 kB / 1.059 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4417, allocations: 7.938 kB / 1.059 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4417, allocations: 4 kB / 1.059 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.4472, allocations: 2.231 MB / 1.061 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007728/0.4481, allocations: 354.9 kB / 1.062 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.4484, allocations: 20.06 kB / 1.062 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.45, allocations: 123.8 kB / 1.062 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4501, allocations: 60.38 kB / 1.062 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.4502, allocations: 39.95 kB / 1.062 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001512/0.4518, allocations: 0.9791 MB / 1.063 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4518, allocations: 0 / 1.063 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001492/0.4533, allocations: 459.3 kB / 1.063 GB, free: 3.754 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.001061/0.4543, allocations: 457.5 kB / 1.064 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004091/0.4584, allocations: 1.332 MB / 1.065 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4585, allocations: 4.062 kB / 1.065 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.4603, allocations: 0.6555 MB / 1.066 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/0.4641, allocations: 0.7554 MB / 1.066 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.4697, allocations: 3.18 MB / 1.069 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/0.4706, allocations: 1.217 MB / 1.071 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/0.4713, allocations: 139.3 kB / 1.071 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/0.4713, allocations: 0 / 1.071 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Templates: time 0.4862/0.9575, allocations: 26.18 MB / 1.096 GB, free: 69.87 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