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.001447/0.001447, allocations: 100.1 kB / 15.88 MB, free: 12 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.001786/0.001786, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 461.8 MB / 0.7348 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.03 kB / 0.899 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3092, allocations: 157.4 MB / 1.053 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05744/0.3666, allocations: 53.15 MB / 1.105 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.3841, allocations: 11.55 MB / 1.116 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.3873, allocations: 55.69 kB / 1.116 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.3902, allocations: 0.6256 MB / 1.117 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.3971, allocations: 1.993 MB / 1.119 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.4009, allocations: 1.248 MB / 1.12 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006682/0.4076, allocations: 5.053 MB / 1.125 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.4096, allocations: 1.087 MB / 1.126 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.4122, allocations: 1.198 MB / 1.127 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.4142, allocations: 1.085 MB / 1.128 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.4146, allocations: 72 kB / 1.128 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.4176, allocations: 0.951 MB / 1.129 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006624/0.4183, allocations: 374.5 kB / 1.129 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4199, allocations: 0.7888 MB / 1.13 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.4226, allocations: 1.968 MB / 1.132 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4226, allocations: 0 / 1.132 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4226, allocations: 0 / 1.132 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.105e-05/0.4227, allocations: 0 / 1.132 GB, free: 6.945 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.004308/0.427, allocations: 2.018 MB / 1.134 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4271, allocations: 15.97 kB / 1.134 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/0.4308, allocations: 0.5725 MB / 1.135 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.4335, allocations: 1.375 MB / 1.136 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4337, allocations: 119.7 kB / 1.136 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.4339, allocations: 95.98 kB / 1.136 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00336/0.4373, allocations: 1.354 MB / 1.137 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4373, allocations: 0 / 1.137 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4374, allocations: 40 kB / 1.137 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.4375, allocations: 24 kB / 1.137 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.4413, allocations: 1.432 MB / 1.139 GB, free: 15.75 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.008514/0.4498, allocations: 5.366 MB / 1.144 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.4528, allocations: 1.069 MB / 1.145 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.4543, allocations: 0.5997 MB / 1.146 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/0.4551, allocations: 1.073 MB / 1.147 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.4569, allocations: 0.6783 MB / 1.147 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 3.346e-06/0.457, allocations: 0 / 1.147 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005318/0.4623, allocations: 1.75 MB / 1.149 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4624, allocations: 59.97 kB / 1.149 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.4647, allocations: 1.401 MB / 1.151 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.4649, allocations: 37.7 kB / 1.151 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007348/0.4656, allocations: 0.6502 MB / 1.151 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.4659, allocations: 205 kB / 1.151 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.4662, allocations: 170.4 kB / 1.152 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4664, allocations: 330 kB / 1.152 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.468, allocations: 0.5601 MB / 1.152 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.4698, allocations: 0.7458 MB / 1.153 GB, free: 424 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.4729, allocations: 1.197 MB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4729, allocations: 7.938 kB / 1.154 GB, free: 15.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004017/0.477, allocations: 1.428 MB / 1.156 GB, free: 13.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.477, allocations: 11.94 kB / 1.156 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.477, allocations: 4 kB / 1.156 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.4771, allocations: 8 kB / 1.156 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4783, allocations: 256 kB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/0.4784, allocations: 8 kB / 1.156 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.48, allocations: 214.8 kB / 1.156 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4802, allocations: 47.97 kB / 1.156 GB, free: 13.16 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.0007218/0.4809, allocations: 349.6 kB / 1.157 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.4813, allocations: 150.2 kB / 1.157 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.4853, allocations: 1.415 MB / 1.158 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4853, allocations: 4 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4853, allocations: 8 kB / 1.158 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003275/0.4886, allocations: 1.263 MB / 1.159 GB, free: 9.938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.4954, allocations: 2.949 MB / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4954, allocations: 256 / 1.162 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.4966, allocations: 207.7 kB / 1.162 GB, free: 6.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.4966, allocations: 8 kB / 1.162 GB, free: 6.688 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.4967, allocations: 23.97 kB / 1.163 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.4967, allocations: 7.938 kB / 1.163 GB, free: 6.656 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4967, allocations: 4 kB / 1.163 GB, free: 6.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/0.5025, allocations: 2.227 MB / 1.165 GB, free: 4.383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/0.5034, allocations: 366.9 kB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/0.5039, allocations: 12 kB / 1.165 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.5056, allocations: 131.9 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.5057, allocations: 52.42 kB / 1.165 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.5059, allocations: 39.91 kB / 1.165 GB, free: 3.77 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001959/0.5078, allocations: 0.983 MB / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5079, allocations: 0 / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001733/0.5096, allocations: 459.3 kB / 1.167 GB, free: 2.34 MB / 0.92 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.001088/0.5107, allocations: 440.9 kB / 1.167 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.5142, allocations: 1.273 MB / 1.168 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/0.5142, allocations: 3.938 kB / 1.168 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.516, allocations: 0.6597 MB / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/0.5199, allocations: 0.7299 MB / 1.17 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.5256, allocations: 3.177 MB / 1.173 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009295/0.5265, allocations: 1.221 MB / 1.174 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/0.5272, allocations: 135.4 kB / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.5272, allocations: 0 / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.03942/0.5666, allocations: 26.17 MB / 1.2 GB, free: 0.6484 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches