Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008353/0.008353, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004926, allocations: 8.5 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3643, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07642/0.4407, allocations: 73.45 MB / 1.13 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.4599, allocations: 12.67 MB / 1.143 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.4634, allocations: 55.62 kB / 1.143 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.4661, allocations: 0.6759 MB / 1.143 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008552/0.4747, allocations: 2.274 MB / 1.146 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.4786, allocations: 1.278 MB / 1.147 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007257/0.4859, allocations: 5.535 MB / 1.152 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.4882, allocations: 1.151 MB / 1.153 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.4916, allocations: 1.31 MB / 1.155 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.4935, allocations: 1.139 MB / 1.156 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.4937, allocations: 56 kB / 1.156 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.4969, allocations: 1.236 MB / 1.157 GB, free: 304 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.4972, allocations: 290.6 kB / 1.157 GB, free: 12 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.4983, allocations: 0.7907 MB / 1.158 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.5021, allocations: 2.718 MB / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5021, allocations: 4 kB / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5022, allocations: 0 / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.5022, allocations: 0 / 1.161 GB, free: 12.48 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00354/0.5057, allocations: 1.783 MB / 1.163 GB, free: 10.63 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.5058, allocations: 8.031 kB / 1.163 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.5066, allocations: 246.8 kB / 1.163 GB, free: 10.38 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.5091, allocations: 1.489 MB / 1.164 GB, free: 8.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.5092, allocations: 74 kB / 1.164 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.5093, allocations: 100 kB / 1.164 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.5115, allocations: 1.124 MB / 1.166 GB, free: 7.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.5115, allocations: 3.938 kB / 1.166 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.5116, allocations: 36 kB / 1.166 GB, free: 7.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.5116, allocations: 39.98 kB / 1.166 GB, free: 7.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.5137, allocations: 0.9212 MB / 1.167 GB, free: 6.512 MB / 0.92 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.006317/0.52, allocations: 4.912 MB / 1.171 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.5215, allocations: 0.6534 MB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.5222, allocations: 370.8 kB / 1.172 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.5229, allocations: 0.8238 MB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.5229, allocations: 47.12 kB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.523, allocations: 0 / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.00794/0.5309, allocations: 1.877 MB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.531, allocations: 63.91 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.5327, allocations: 1.21 MB / 1.176 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.5327, allocations: 41.7 kB / 1.176 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.5333, allocations: 0.5987 MB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5335, allocations: 220.9 kB / 1.177 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.5336, allocations: 61.69 kB / 1.177 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5337, allocations: 334 kB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.5344, allocations: 301.8 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/0.5353, allocations: 0.5037 MB / 1.178 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.5369, allocations: 0.752 MB / 1.179 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5369, allocations: 0 / 1.179 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005179/0.5421, allocations: 1.41 MB / 1.18 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.5422, allocations: 198.2 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5422, allocations: 4 kB / 1.181 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.5429, allocations: 140.7 kB / 1.181 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.5435, allocations: 175.7 kB / 1.181 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/0.5444, allocations: 0.7122 MB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.5457, allocations: 167 kB / 1.182 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.5457, allocations: 31.98 kB / 1.182 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.5458, allocations: 5.875 kB / 1.182 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004796/0.5506, allocations: 1.257 MB / 1.183 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5506, allocations: 4 kB / 1.183 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.5511, allocations: 141.1 kB / 1.183 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.5517, allocations: 175.7 kB / 1.183 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008087/0.5525, allocations: 0.7045 MB / 1.184 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5537, allocations: 166 kB / 1.184 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.5538, allocations: 28 kB / 1.184 GB, free: 3.66 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006355/0.5545, allocations: 420.9 kB / 1.185 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.5547, allocations: 134.4 kB / 1.185 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.5598, allocations: 1.392 MB / 1.186 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5598, allocations: 15.92 kB / 1.186 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5598, allocations: 0 / 1.186 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004613/0.5644, allocations: 1.228 MB / 1.187 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007289/0.5717, allocations: 2.75 MB / 1.19 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.5718, allocations: 4 kB / 1.19 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.5723, allocations: 119.9 kB / 1.19 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.5728, allocations: 136.9 kB / 1.19 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.5729, allocations: 27.98 kB / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.5779, allocations: 2.439 MB / 1.193 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.578, allocations: 7.984 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.584, allocations: 1.852 MB / 1.194 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.5849, allocations: 331 kB / 1.195 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.585, allocations: 20 kB / 1.195 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.5861, allocations: 99.81 kB / 1.195 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5863, allocations: 52.31 kB / 1.195 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.5863, allocations: 35.91 kB / 1.195 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001337/0.5877, allocations: 0.8699 MB / 1.196 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5877, allocations: 0 / 1.196 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001979/0.5897, allocations: 0.7096 MB / 1.196 GB, free: 6.625 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008986/0.5906, allocations: 451.5 kB / 1.197 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.5933, allocations: 1.172 MB / 1.198 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5934, allocations: 0 / 1.198 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.595, allocations: 0.5955 MB / 1.199 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/0.5995, allocations: 0.7871 MB / 1.199 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.6036, allocations: 2.805 MB / 1.202 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.6043, allocations: 1.177 MB / 1.203 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001244/0.6056, allocations: 299.1 kB / 1.204 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.6059, allocations: 111.4 kB / 1.204 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of SimCode: time 6.52e-07/0.6059, allocations: 3.938 kB / 1.204 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.05524/0.6611, allocations: 31.82 MB / 1.235 GB, free: 15.64 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches