Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001171/0.00117, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001173/0.001174, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.59 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3124, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05751/0.37, allocations: 53.47 MB / 1.071 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6014/0.9714, allocations: 11.47 MB / 1.082 GB, free: 20.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/0.9743, allocations: 61.22 kB / 1.082 GB, free: 20.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.9766, allocations: 0.768 MB / 1.083 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.985, allocations: 2.16 MB / 1.085 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.9896, allocations: 1.375 MB / 1.086 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007925/0.9976, allocations: 3.934 MB / 1.09 GB, free: 20.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/1, allocations: 1.283 MB / 1.092 GB, free: 20.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/1.005, allocations: 1.397 MB / 1.093 GB, free: 20.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/1.008, allocations: 1.089 MB / 1.094 GB, free: 19.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003789/1.009, allocations: 138.2 kB / 1.094 GB, free: 19.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/1.012, allocations: 1.043 MB / 1.095 GB, free: 19.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006097/1.013, allocations: 440.4 kB / 1.096 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/1.014, allocations: 0.8547 MB / 1.096 GB, free: 19.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005654/1.02, allocations: 2.58 MB / 1.099 GB, free: 18.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.02, allocations: 0.6094 kB / 1.099 GB, free: 18.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.486e-06/1.02, allocations: 1.219 kB / 1.099 GB, free: 18.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.443e-05/1.02, allocations: 3.938 kB / 1.099 GB, free: 18.68 MB / 0.8419 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.004766/1.025, allocations: 2.021 MB / 1.101 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.025, allocations: 9.438 kB / 1.101 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/1.029, allocations: 0.5686 MB / 1.101 GB, free: 17.28 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/1.032, allocations: 1.395 MB / 1.103 GB, free: 16.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.032, allocations: 116 kB / 1.103 GB, free: 16.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.032, allocations: 95.86 kB / 1.103 GB, free: 16.4 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/1.035, allocations: 1.36 MB / 1.104 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/1.035, allocations: 4.906 kB / 1.104 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.035, allocations: 37.34 kB / 1.104 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/1.035, allocations: 24.97 kB / 1.104 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/1.039, allocations: 1.429 MB / 1.106 GB, free: 15.41 MB / 0.8419 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.00885/1.048, allocations: 5.361 MB / 1.111 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/1.051, allocations: 1.072 MB / 1.112 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.053, allocations: 0.6084 MB / 1.113 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/1.054, allocations: 1.068 MB / 1.114 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.056, allocations: 0.6725 MB / 1.114 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/1.056, allocations: 3.984 kB / 1.114 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.00556/1.061, allocations: 1.758 MB / 1.116 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.061, allocations: 63.39 kB / 1.116 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/1.064, allocations: 1.408 MB / 1.118 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.064, allocations: 37.77 kB / 1.118 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/1.064, allocations: 0.6463 MB / 1.118 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.064, allocations: 208.3 kB / 1.118 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/1.065, allocations: 162.5 kB / 1.119 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.073e-05/1.065, allocations: 339.5 kB / 1.119 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/1.066, allocations: 0.5472 MB / 1.119 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.068, allocations: 0.7583 MB / 1.12 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/1.071, allocations: 1.189 MB / 1.121 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.071, allocations: 1.781 kB / 1.121 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004022/1.075, allocations: 1.438 MB / 1.123 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.075, allocations: 9.75 kB / 1.123 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.075, allocations: 9.938 kB / 1.123 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/1.075, allocations: 8.688 kB / 1.123 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.077, allocations: 251.8 kB / 1.123 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/1.077, allocations: 8.188 kB / 1.123 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.079, allocations: 194.1 kB / 1.123 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.079, allocations: 41.17 kB / 1.123 GB, free: 6.207 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.0008818/1.08, allocations: 359.4 kB / 1.124 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003974/1.08, allocations: 143.7 kB / 1.124 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/1.084, allocations: 1.422 MB / 1.125 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.744e-05/1.084, allocations: 9.125 kB / 1.125 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.084, allocations: 1.281 kB / 1.125 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003435/1.088, allocations: 1.264 MB / 1.126 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007487/1.095, allocations: 2.955 MB / 1.129 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/1.095, allocations: 2.188 kB / 1.129 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.096, allocations: 206.2 kB / 1.129 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/1.096, allocations: 4.438 kB / 1.129 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/1.097, allocations: 29.83 kB / 1.129 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/1.097, allocations: 4.375 kB / 1.129 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.097, allocations: 2.562 kB / 1.129 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005964/1.103, allocations: 2.229 MB / 1.132 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.104, allocations: 352.2 kB / 1.132 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005501/1.104, allocations: 25.48 kB / 1.132 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/1.106, allocations: 115 kB / 1.132 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.106, allocations: 58.08 kB / 1.132 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.106, allocations: 38.06 kB / 1.132 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003143/1.11, allocations: 0.993 MB / 1.133 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.01e-07/1.11, allocations: 0 / 1.133 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00339/1.113, allocations: 463.4 kB / 1.134 GB, free: 1.73 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.001898/1.115, allocations: 461.4 kB / 1.134 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004362/1.119, allocations: 1.275 MB / 1.135 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.119, allocations: 0 / 1.135 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.121, allocations: 0.6572 MB / 1.136 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/1.126, allocations: 0.7595 MB / 1.137 GB, free: 232 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/1.132, allocations: 2.654 MB / 1.139 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/1.133, allocations: 1.22 MB / 1.14 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001661/1.135, allocations: 308 kB / 1.141 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.135, allocations: 125.5 kB / 1.141 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of SimCode: time 1.323e-06/1.135, allocations: 3.938 kB / 1.141 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.05408/1.189, allocations: 30.28 MB / 1.17 GB, free: 5.25 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches