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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001012/0.001012, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 177.6 kB / 16.92 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7283, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05475/0.7831, allocations: 52.12 MB / 1.007 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.8018, allocations: 11.42 MB / 1.018 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.8047, allocations: 59.62 kB / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.8071, allocations: 0.6118 MB / 1.018 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.8141, allocations: 2.007 MB / 1.02 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.8178, allocations: 1.244 MB / 1.022 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007564/0.8254, allocations: 5.054 MB / 1.027 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.8276, allocations: 1.057 MB / 1.028 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.8305, allocations: 1.159 MB / 1.029 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.8325, allocations: 1.05 MB / 1.03 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.8327, allocations: 56 kB / 1.03 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.8354, allocations: 0.9353 MB / 1.031 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.8358, allocations: 350.5 kB / 1.031 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.8368, allocations: 0.7787 MB / 1.032 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.8392, allocations: 1.933 MB / 1.034 GB, free: 15.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8392, allocations: 0 / 1.034 GB, free: 15.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8392, allocations: 0 / 1.034 GB, free: 15.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.8393, allocations: 0 / 1.034 GB, free: 15.25 MB / 0.795 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.003538/0.8428, allocations: 1.726 MB / 1.035 GB, free: 13.47 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.8429, allocations: 8.031 kB / 1.035 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.8464, allocations: 0.6194 MB / 1.036 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.8488, allocations: 1.371 MB / 1.037 GB, free: 11.42 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.8489, allocations: 119.7 kB / 1.037 GB, free: 11.29 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.8491, allocations: 96 kB / 1.038 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.8522, allocations: 1.385 MB / 1.039 GB, free: 9.781 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.8523, allocations: 3.938 kB / 1.039 GB, free: 9.777 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8524, allocations: 44 kB / 1.039 GB, free: 9.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/0.8524, allocations: 24 kB / 1.039 GB, free: 9.711 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.8565, allocations: 1.499 MB / 1.04 GB, free: 8.207 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.009216/0.8657, allocations: 5.409 MB / 1.046 GB, free: 2.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.8689, allocations: 1.116 MB / 1.047 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.8707, allocations: 0.6349 MB / 1.047 GB, free: 0.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009274/0.8716, allocations: 1.073 MB / 1.048 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/0.8736, allocations: 0.7095 MB / 1.049 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.8736, allocations: 0 / 1.049 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60): time 0.005597/0.8792, allocations: 1.867 MB / 1.051 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.8793, allocations: 59.97 kB / 1.051 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.8817, allocations: 1.397 MB / 1.052 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.8818, allocations: 41.7 kB / 1.052 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/0.8825, allocations: 0.6385 MB / 1.053 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.8827, allocations: 205 kB / 1.053 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.8829, allocations: 69.67 kB / 1.053 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.883, allocations: 334 kB / 1.054 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.8848, allocations: 0.5875 MB / 1.054 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.8867, allocations: 0.7926 MB / 1.055 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.8902, allocations: 1.263 MB / 1.056 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.8902, allocations: 96 / 1.056 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004405/0.8946, allocations: 1.51 MB / 1.058 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.8947, allocations: 7.938 kB / 1.058 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.8947, allocations: 8 kB / 1.058 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.8947, allocations: 8 kB / 1.058 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.8961, allocations: 276 kB / 1.058 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.8962, allocations: 11.94 kB / 1.058 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.898, allocations: 238.7 kB / 1.058 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8981, allocations: 43.97 kB / 1.058 GB, free: 5.207 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.0007735/0.8989, allocations: 353.6 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.8993, allocations: 150.2 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.9036, allocations: 1.492 MB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.9036, allocations: 4 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.9036, allocations: 8 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003506/0.9071, allocations: 1.325 MB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.9138, allocations: 3.031 MB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9138, allocations: 4 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.915, allocations: 227.9 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.9151, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.9151, allocations: 23.97 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-06/0.9152, allocations: 8 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.9152, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005974/0.9211, allocations: 2.336 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.922, allocations: 374.9 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.9224, allocations: 24.05 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.9239, allocations: 159.7 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.924, allocations: 56.36 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.9242, allocations: 35.97 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001762/0.9259, allocations: 0.983 MB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.926, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001586/0.9275, allocations: 459.4 kB / 1.069 GB, free: 9.98 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.001072/0.9286, allocations: 445 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003917/0.9326, allocations: 1.348 MB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.9326, allocations: 4 kB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.9345, allocations: 0.691 MB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/0.9391, allocations: 0.7375 MB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.9452, allocations: 3.261 MB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9464, allocations: 1.218 MB / 1.077 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/0.9471, allocations: 139.4 kB / 1.077 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.9471, allocations: 4 kB / 1.077 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.03977/0.9869, allocations: 25.94 MB / 1.102 GB, free: 8.312 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