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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001032/0.001032, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009093/0.009093, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 15.94 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6967, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05927/0.756, allocations: 52.12 MB / 1.074 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.7744, allocations: 11.42 MB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.7772, allocations: 51.62 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.7796, allocations: 0.6234 MB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007962/0.7875, allocations: 1.997 MB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005462/0.793, allocations: 1.253 MB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009236/0.8023, allocations: 5.048 MB / 1.094 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.8049, allocations: 1.069 MB / 1.095 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.8081, allocations: 1.159 MB / 1.096 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.8102, allocations: 1.042 MB / 1.097 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004619/0.8107, allocations: 60 kB / 1.097 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.8142, allocations: 0.9353 MB / 1.098 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007521/0.815, allocations: 350.5 kB / 1.098 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.8167, allocations: 0.7826 MB / 1.099 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.8213, allocations: 2.457 MB / 1.101 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8213, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.486e-06/0.8213, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.232e-05/0.8214, allocations: 4 kB / 1.101 GB, free: 15.2 MB / 0.8575 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.004632/0.8261, allocations: 1.722 MB / 1.103 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.8261, allocations: 12.03 kB / 1.103 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.8299, allocations: 0.6272 MB / 1.104 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.8328, allocations: 1.364 MB / 1.105 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.833, allocations: 111.7 kB / 1.105 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.8333, allocations: 99.98 kB / 1.105 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.8365, allocations: 1.385 MB / 1.107 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.8366, allocations: 8 kB / 1.107 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.8367, allocations: 36 kB / 1.107 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.8367, allocations: 27.98 kB / 1.107 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.8408, allocations: 1.495 MB / 1.108 GB, free: 8.176 MB / 0.8575 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.00904/0.8499, allocations: 5.401 MB / 1.113 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/0.8529, allocations: 1.118 MB / 1.115 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.8546, allocations: 0.6416 MB / 1.115 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/0.8556, allocations: 1.065 MB / 1.116 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/0.8575, allocations: 0.7212 MB / 1.117 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 2.976e-06/0.8576, allocations: 0 / 1.117 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005388/0.863, allocations: 1.863 MB / 1.119 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.863, allocations: 59.97 kB / 1.119 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.8654, allocations: 1.394 MB / 1.12 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.8656, allocations: 37.7 kB / 1.12 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006255/0.8662, allocations: 0.6501 MB / 1.121 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.8664, allocations: 213 kB / 1.121 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.8666, allocations: 65.69 kB / 1.121 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8667, allocations: 330 kB / 1.121 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.8684, allocations: 0.5952 MB / 1.122 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.8702, allocations: 0.7926 MB / 1.123 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/0.8736, allocations: 1.267 MB / 1.124 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.8736, allocations: 0 / 1.124 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004104/0.8777, allocations: 1.507 MB / 1.126 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.8778, allocations: 11.94 kB / 1.126 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.8778, allocations: 4 kB / 1.126 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.8778, allocations: 8 kB / 1.126 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.8792, allocations: 268 kB / 1.126 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8792, allocations: 8 kB / 1.126 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.881, allocations: 242.8 kB / 1.126 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.8811, allocations: 39.97 kB / 1.126 GB, free: 5.172 MB / 0.8731 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.0007561/0.8818, allocations: 357.5 kB / 1.126 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.8821, allocations: 150.2 kB / 1.127 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.8861, allocations: 1.481 MB / 1.128 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.8862, allocations: 12 kB / 1.128 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8862, allocations: 0 / 1.128 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00332/0.8895, allocations: 1.337 MB / 1.129 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.8957, allocations: 3.027 MB / 1.132 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.8957, allocations: 4.25 kB / 1.132 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.8969, allocations: 219.7 kB / 1.132 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.8969, allocations: 4 kB / 1.132 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.897, allocations: 27.97 kB / 1.133 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.897, allocations: 7.938 kB / 1.133 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.897, allocations: 8.031 kB / 1.133 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005805/0.9029, allocations: 2.344 MB / 1.135 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007762/0.9037, allocations: 378.9 kB / 1.135 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.9038, allocations: 12 kB / 1.135 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.9052, allocations: 159.7 kB / 1.135 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.9053, allocations: 48.44 kB / 1.135 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/0.9054, allocations: 39.95 kB / 1.135 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001521/0.907, allocations: 0.983 MB / 1.136 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.9e-07/0.907, allocations: 0 / 1.136 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001333/0.9083, allocations: 455.4 kB / 1.137 GB, free: 9.953 MB / 0.8887 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.0008838/0.9092, allocations: 452.6 kB / 1.137 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.9129, allocations: 1.348 MB / 1.139 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9129, allocations: 0 / 1.139 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.9147, allocations: 0.691 MB / 1.139 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/0.9188, allocations: 0.7346 MB / 1.14 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.925, allocations: 3.213 MB / 1.143 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/0.9259, allocations: 1.225 MB / 1.144 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001786/0.9277, allocations: 302.1 kB / 1.145 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.9282, allocations: 131.4 kB / 1.145 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of SimCode: time 1.102e-06/0.9282, allocations: 0 / 1.145 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of Templates: time 0.05483/0.9831, allocations: 29.3 MB / 1.173 GB, free: 4.848 MB / 0.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches