Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 112.6 kB / 16.37 MB, free: 6 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.001499/0.001499, allocations: 196 kB / 17.31 MB, free: 5.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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.53 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.7701/1.121, allocations: 70.51 MB / 1.096 GB, free: 23.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02571/1.147, allocations: 18.91 MB / 1.114 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003496/1.15, allocations: 71.25 kB / 1.114 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00299/1.153, allocations: 0.8247 MB / 1.115 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009791/1.163, allocations: 2.841 MB / 1.118 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00492/1.168, allocations: 1.665 MB / 1.119 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006478/1.175, allocations: 4.043 MB / 1.123 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/1.177, allocations: 1.455 MB / 1.125 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/1.182, allocations: 1.765 MB / 1.126 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/1.185, allocations: 1.182 MB / 1.128 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005061/1.186, allocations: 178.7 kB / 1.128 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/1.19, allocations: 1.418 MB / 1.129 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005976/1.191, allocations: 384.4 kB / 1.129 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/1.193, allocations: 0.9241 MB / 1.13 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007833/1.2, allocations: 3.097 MB / 1.133 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.2, allocations: 0 / 1.133 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.725e-06/1.201, allocations: 0 / 1.133 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.053e-05/1.201, allocations: 0 / 1.133 GB, free: 3.199 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005835/1.206, allocations: 2.032 MB / 1.135 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.207, allocations: 9.5 kB / 1.135 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/1.209, allocations: 443.9 kB / 1.136 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/1.212, allocations: 1.549 MB / 1.137 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/1.212, allocations: 86.31 kB / 1.137 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/1.212, allocations: 107.2 kB / 1.138 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.215, allocations: 1.311 MB / 1.139 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.215, allocations: 5.125 kB / 1.139 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.215, allocations: 46.5 kB / 1.139 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/1.215, allocations: 25.56 kB / 1.139 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.218, allocations: 1.098 MB / 1.14 GB, free: 15.55 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.009824/1.228, allocations: 7.513 MB / 1.147 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/1.231, allocations: 0.7961 MB / 1.148 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/1.232, allocations: 288.4 kB / 1.148 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/1.233, allocations: 1.723 MB / 1.15 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.233, allocations: 38.06 kB / 1.15 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/1.233, allocations: 0 / 1.15 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.005135/1.238, allocations: 1.341 MB / 1.151 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.238, allocations: 59.91 kB / 1.151 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/1.241, allocations: 1.545 MB / 1.153 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/1.241, allocations: 37.7 kB / 1.153 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/1.242, allocations: 0.6729 MB / 1.154 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/1.242, allocations: 172.8 kB / 1.154 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/1.243, allocations: 168.4 kB / 1.154 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.243, allocations: 333.3 kB / 1.154 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00096/1.244, allocations: 370.3 kB / 1.155 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.245, allocations: 0.6527 MB / 1.155 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/1.247, allocations: 0.8909 MB / 1.156 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.247, allocations: 2.344 kB / 1.156 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003288/1.25, allocations: 1.195 MB / 1.157 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.25, allocations: 14.67 kB / 1.157 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.25, allocations: 12.44 kB / 1.157 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009119/1.251, allocations: 219 kB / 1.158 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/1.252, allocations: 194 kB / 1.158 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008712/1.253, allocations: 0.7186 MB / 1.158 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.254, allocations: 211.8 kB / 1.159 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.255, allocations: 43.23 kB / 1.159 GB, free: 1.141 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007485/1.255, allocations: 362.3 kB / 1.159 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/1.256, allocations: 154.3 kB / 1.159 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/1.258, allocations: 1.139 MB / 1.16 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.258, allocations: 7.281 kB / 1.16 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.258, allocations: 0 / 1.16 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.258, allocations: 4.859 kB / 1.16 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/1.264, allocations: 2.506 MB / 1.163 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/1.264, allocations: 1.812 kB / 1.163 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/1.264, allocations: 81.3 kB / 1.163 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000761/1.265, allocations: 215.8 kB / 1.163 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/1.265, allocations: 18.17 kB / 1.163 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/1.266, allocations: 0.7735 MB / 1.164 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.266, allocations: 6.094 kB / 1.164 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003453/1.269, allocations: 1.201 MB / 1.165 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008914/1.27, allocations: 352.4 kB / 1.165 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.271, allocations: 25.2 kB / 1.165 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/1.271, allocations: 69.39 kB / 1.165 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/1.272, allocations: 45.09 kB / 1.165 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/1.272, allocations: 25.95 kB / 1.165 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002003/1.274, allocations: 1.085 MB / 1.167 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.854e-06/1.274, allocations: 1.406 kB / 1.167 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001716/1.275, allocations: 447.4 kB / 1.167 GB, free: 11.73 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.001093/1.277, allocations: 477.5 kB / 1.167 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.279, allocations: 0.8535 MB / 1.168 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.279, allocations: 4.062 kB / 1.168 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.28, allocations: 438.6 kB / 1.169 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/1.283, allocations: 0.74 MB / 1.169 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.287, allocations: 2.243 MB / 1.172 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/1.288, allocations: 1.172 MB / 1.173 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001081/1.289, allocations: 262.1 kB / 1.173 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/1.289, allocations: 113.2 kB / 1.173 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of SimCode: time 1.222e-06/1.289, allocations: 0 / 1.173 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of Templates: time 0.1824/1.472, allocations: 31.52 MB / 1.204 GB, free: 11.21 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches