Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008139/0.0008138, 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.005942/0.005942, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8.281 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05751/0.4031, allocations: 52.12 MB / 1.11 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.4218, allocations: 11.4 MB / 1.121 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.4242, allocations: 55.62 kB / 1.121 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.4263, allocations: 0.6295 MB / 1.121 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006669/0.433, allocations: 1.994 MB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.437, allocations: 1.25 MB / 1.124 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007945/0.4449, allocations: 5.057 MB / 1.129 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.4474, allocations: 1.061 MB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.4505, allocations: 1.166 MB / 1.132 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.4527, allocations: 1.026 MB / 1.133 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.4531, allocations: 56 kB / 1.133 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.4566, allocations: 0.9353 MB / 1.134 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.4571, allocations: 350.5 kB / 1.134 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.4584, allocations: 0.7826 MB / 1.135 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.4621, allocations: 2.453 MB / 1.137 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4621, allocations: 0 / 1.137 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.178e-06/0.4621, allocations: 0 / 1.137 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.4622, allocations: 3.938 kB / 1.137 GB, free: 4.418 MB / 0.8887 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.003467/0.4656, allocations: 1.734 MB / 1.139 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4657, allocations: 11.97 kB / 1.139 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.4693, allocations: 0.6233 MB / 1.139 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.4718, allocations: 1.36 MB / 1.141 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.472, allocations: 119.7 kB / 1.141 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.4722, allocations: 111.9 kB / 1.141 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.4755, allocations: 1.389 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.4755, allocations: 0 / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.4756, allocations: 39.94 kB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.4757, allocations: 28 kB / 1.142 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.4797, allocations: 1.507 MB / 1.144 GB, free: 13.35 MB / 0.9044 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.00857/0.4883, allocations: 5.393 MB / 1.149 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.4914, allocations: 1.118 MB / 1.15 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.4931, allocations: 0.6427 MB / 1.151 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008755/0.494, allocations: 1.065 MB / 1.152 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00195/0.496, allocations: 0.7173 MB / 1.153 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.496, allocations: 3.938 kB / 1.153 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005697/0.5017, allocations: 1.863 MB / 1.154 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.5018, allocations: 59.97 kB / 1.154 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.5044, allocations: 1.397 MB / 1.156 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.5046, allocations: 41.7 kB / 1.156 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.5054, allocations: 0.6501 MB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.5059, allocations: 201 kB / 1.157 GB, free: 15.64 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.5061, allocations: 69.67 kB / 1.157 GB, free: 15.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5062, allocations: 334 kB / 1.157 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.5081, allocations: 0.5836 MB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.5101, allocations: 0.7926 MB / 1.158 GB, free: 13.78 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.5139, allocations: 1.267 MB / 1.16 GB, free: 12.44 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.5139, allocations: 4 kB / 1.16 GB, free: 12.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00443/0.5183, allocations: 1.503 MB / 1.161 GB, free: 10.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.5184, allocations: 11.94 kB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5184, allocations: 4 kB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.5185, allocations: 8 kB / 1.161 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5198, allocations: 276 kB / 1.161 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.5199, allocations: 11.94 kB / 1.161 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.5218, allocations: 234.7 kB / 1.162 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.522, allocations: 47.97 kB / 1.162 GB, free: 10.34 MB / 0.92 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.0008975/0.5229, allocations: 349.6 kB / 1.162 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004974/0.5234, allocations: 146.2 kB / 1.162 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.5279, allocations: 1.481 MB / 1.164 GB, free: 8.359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.5279, allocations: 15.98 kB / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.5279, allocations: 0 / 1.164 GB, free: 8.344 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003576/0.5315, allocations: 1.333 MB / 1.165 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/0.5387, allocations: 3.035 MB / 1.168 GB, free: 3.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.5388, allocations: 4 kB / 1.168 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.54, allocations: 227.9 kB / 1.168 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.5401, allocations: 4 kB / 1.168 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-05/0.5401, allocations: 27.97 kB / 1.168 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.5402, allocations: 4 kB / 1.168 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5402, allocations: 96 / 1.168 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006075/0.5463, allocations: 2.348 MB / 1.17 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007799/0.5471, allocations: 371 kB / 1.171 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.5473, allocations: 15.98 kB / 1.171 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5489, allocations: 159.8 kB / 1.171 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.549, allocations: 56.36 kB / 1.171 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.5491, allocations: 35.97 kB / 1.171 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001519/0.5506, allocations: 0.9791 MB / 1.172 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5506, allocations: 0 / 1.172 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001396/0.552, allocations: 451.4 kB / 1.172 GB, free: 15.14 MB / 0.9356 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.0009395/0.553, allocations: 455 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003796/0.5568, allocations: 1.355 MB / 1.174 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5568, allocations: 0 / 1.174 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.5587, allocations: 0.6871 MB / 1.175 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/0.5629, allocations: 0.7343 MB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.5683, allocations: 3.209 MB / 1.179 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/0.5692, allocations: 1.225 MB / 1.18 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001508/0.5707, allocations: 311.4 kB / 1.18 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.5712, allocations: 127.4 kB / 1.18 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of SimCode: time 1.133e-06/0.5712, allocations: 0 / 1.18 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of Templates: time 0.05368/0.6249, allocations: 29.3 MB / 1.209 GB, free: 10.03 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches