Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,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.TSet|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_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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.TSet|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_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.00871/0.00871, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.962/2.962, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 16.84 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3917, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06049/0.4523, allocations: 59.76 MB / 1.117 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.4722, allocations: 11.93 MB / 1.129 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.4753, allocations: 51.62 kB / 1.129 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.4779, allocations: 0.5438 MB / 1.129 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.4855, allocations: 1.808 MB / 1.131 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.489, allocations: 1.067 MB / 1.132 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006445/0.4955, allocations: 3.902 MB / 1.136 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.4974, allocations: 0.8983 MB / 1.137 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.5008, allocations: 1.112 MB / 1.138 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.5026, allocations: 0.8553 MB / 1.139 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.5027, allocations: 44 kB / 1.139 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.5061, allocations: 1.337 MB / 1.14 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5064, allocations: 210.9 kB / 1.14 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008782/0.5073, allocations: 0.6311 MB / 1.141 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.5109, allocations: 2.196 MB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5109, allocations: 0 / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.945e-06/0.5109, allocations: 0 / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.5109, allocations: 0 / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00304/0.514, allocations: 1.481 MB / 1.144 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.514, allocations: 12.03 kB / 1.144 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.5164, allocations: 474.8 kB / 1.145 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.5188, allocations: 1.128 MB / 1.146 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.5192, allocations: 125.9 kB / 1.146 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5193, allocations: 84 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.5215, allocations: 1.005 MB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5215, allocations: 3.938 kB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.5216, allocations: 32 kB / 1.147 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5217, allocations: 20 kB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.5242, allocations: 0.9016 MB / 1.148 GB, free: 9.438 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.007282/0.5315, allocations: 4.905 MB / 1.153 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/0.5351, allocations: 0.9049 MB / 1.154 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/0.5359, allocations: 324.6 kB / 1.154 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/0.5367, allocations: 0.9064 MB / 1.155 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.5367, allocations: 46.5 kB / 1.155 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.5367, allocations: 0 / 1.155 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007981/0.5447, allocations: 1.946 MB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5448, allocations: 59.34 kB / 1.157 GB, free: 15.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.5466, allocations: 1.063 MB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.5467, allocations: 37.7 kB / 1.158 GB, free: 14.61 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.5472, allocations: 0.5196 MB / 1.159 GB, free: 14.08 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.5473, allocations: 149.8 kB / 1.159 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.5474, allocations: 49.69 kB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5476, allocations: 329.9 kB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/0.5485, allocations: 320.9 kB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5496, allocations: 0.5336 MB / 1.16 GB, free: 12.62 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.5514, allocations: 0.7318 MB / 1.161 GB, free: 11.83 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5514, allocations: 0 / 1.161 GB, free: 11.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00394/0.5554, allocations: 1.2 MB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.5556, allocations: 211.4 kB / 1.162 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5556, allocations: 4 kB / 1.162 GB, free: 10.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.5569, allocations: 351.3 kB / 1.162 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.5575, allocations: 123.9 kB / 1.162 GB, free: 9.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.5591, allocations: 0.9386 MB / 1.163 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5606, allocations: 195.2 kB / 1.164 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.5607, allocations: 27.98 kB / 1.164 GB, free: 8.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5607, allocations: 7.938 kB / 1.164 GB, free: 8.695 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003361/0.5641, allocations: 1.066 MB / 1.165 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5641, allocations: 12.03 kB / 1.165 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.5652, allocations: 328.7 kB / 1.165 GB, free: 7.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.5657, allocations: 131.8 kB / 1.165 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.5672, allocations: 0.9337 MB / 1.166 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5685, allocations: 171.4 kB / 1.166 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.5686, allocations: 27.98 kB / 1.166 GB, free: 6.008 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006942/0.5693, allocations: 352.9 kB / 1.166 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5695, allocations: 106.7 kB / 1.167 GB, free: 5.547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.572, allocations: 0.9885 MB / 1.168 GB, free: 4.547 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.572, allocations: 4 kB / 1.168 GB, free: 4.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.572, allocations: 0 / 1.168 GB, free: 4.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.572, allocations: 3.984 kB / 1.168 GB, free: 4.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/0.5776, allocations: 2.253 MB / 1.17 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.5776, allocations: 8.031 kB / 1.17 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.5779, allocations: 63.89 kB / 1.17 GB, free: 2.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.579, allocations: 328.6 kB / 1.17 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.579, allocations: 16 kB / 1.17 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.5806, allocations: 0.9714 MB / 1.171 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5806, allocations: 7.969 kB / 1.171 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/0.5846, allocations: 1.257 MB / 1.172 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/0.5855, allocations: 279.4 kB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.5856, allocations: 16 kB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.5866, allocations: 111.8 kB / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.5868, allocations: 35.95 kB / 1.173 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.5868, allocations: 23.98 kB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001443/0.5883, allocations: 0.7508 MB / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5883, allocations: 0 / 1.174 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001909/0.5902, allocations: 0.5613 MB / 1.174 GB, free: 13.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009864/0.5912, allocations: 371.6 kB / 1.174 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003318/0.5945, allocations: 1.165 MB / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5946, allocations: 0 / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.5955, allocations: 379 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.5984, allocations: 0.4936 MB / 1.176 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/0.6046, allocations: 2.564 MB / 1.179 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.6053, allocations: 1.062 MB / 1.18 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001137/0.6065, allocations: 220.6 kB / 1.18 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.6067, allocations: 75.42 kB / 1.18 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/0.6067, allocations: 0 / 1.18 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.04624/0.653, allocations: 23.81 MB / 1.203 GB, free: 15.74 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches