Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002157/0.002157, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.7099 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.09 kB / 0.8685 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7676, allocations: 151.6 MB / 1.017 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07848/0.8461, allocations: 70.1 MB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.8734, allocations: 19 MB / 1.104 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.8771, allocations: 67.56 kB / 1.104 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.8801, allocations: 0.6566 MB / 1.104 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009423/0.8896, allocations: 2.614 MB / 1.107 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.8945, allocations: 1.487 MB / 1.108 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0075/0.902, allocations: 5.015 MB / 1.113 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.9047, allocations: 1.187 MB / 1.114 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004407/0.9091, allocations: 1.489 MB / 1.116 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.9118, allocations: 1.163 MB / 1.117 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004307/0.9122, allocations: 76 kB / 1.117 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.9158, allocations: 1.243 MB / 1.118 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.9164, allocations: 290.6 kB / 1.119 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.9184, allocations: 0.82 MB / 1.119 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00614/0.9246, allocations: 3.027 MB / 1.122 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.9246, allocations: 4 kB / 1.122 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9246, allocations: 0 / 1.122 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000103/0.9247, allocations: 0 / 1.122 GB, free: 6.312 MB / 0.8731 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.006208/0.9309, allocations: 2.015 MB / 1.124 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.931, allocations: 12.03 kB / 1.124 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.9337, allocations: 442.5 kB / 1.125 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.9375, allocations: 1.516 MB / 1.126 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.938, allocations: 134 kB / 1.126 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.9383, allocations: 108 kB / 1.126 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.9415, allocations: 1.297 MB / 1.128 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.9416, allocations: 8 kB / 1.128 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.9417, allocations: 40 kB / 1.128 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/0.9417, allocations: 28 kB / 1.128 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.9447, allocations: 1.108 MB / 1.129 GB, free: 15.4 MB / 0.8887 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.01022/0.9549, allocations: 7.137 MB / 1.136 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.9581, allocations: 0.8007 MB / 1.137 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.9588, allocations: 282 kB / 1.137 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.9603, allocations: 1.722 MB / 1.139 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.9604, allocations: 46.94 kB / 1.139 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.9604, allocations: 0 / 1.139 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004964/0.9653, allocations: 1.327 MB / 1.14 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9654, allocations: 59.84 kB / 1.14 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.9685, allocations: 1.521 MB / 1.141 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.9686, allocations: 37.7 kB / 1.141 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.9692, allocations: 0.6613 MB / 1.142 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.9694, allocations: 177.6 kB / 1.142 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.9698, allocations: 162.5 kB / 1.142 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9699, allocations: 330 kB / 1.143 GB, free: 184 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.9709, allocations: 361.8 kB / 1.143 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.9722, allocations: 0.6354 MB / 1.144 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.9744, allocations: 0.8521 MB / 1.145 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.9745, allocations: 8 kB / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004702/0.9792, allocations: 1.329 MB / 1.146 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.9792, allocations: 8 kB / 1.146 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.9793, allocations: 8 kB / 1.146 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/0.9803, allocations: 225.4 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/0.9811, allocations: 183.7 kB / 1.146 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008764/0.982, allocations: 0.7278 MB / 1.147 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.9838, allocations: 234.7 kB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.984, allocations: 43.98 kB / 1.147 GB, free: 11.33 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0007378/0.9847, allocations: 353.6 kB / 1.148 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/0.9852, allocations: 146.2 kB / 1.148 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.9878, allocations: 1.152 MB / 1.149 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.9878, allocations: 11.98 kB / 1.149 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9878, allocations: 3.938 kB / 1.149 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.9879, allocations: 3.984 kB / 1.149 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005824/0.9937, allocations: 2.502 MB / 1.151 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.9937, allocations: 4.031 kB / 1.151 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.9941, allocations: 87.88 kB / 1.151 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.9949, allocations: 212.5 kB / 1.152 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.995, allocations: 20 kB / 1.152 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.9963, allocations: 0.7669 MB / 1.152 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9963, allocations: 7.969 kB / 1.152 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.9998, allocations: 1.203 MB / 1.154 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008907/1.001, allocations: 346.9 kB / 1.154 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/1.001, allocations: 12 kB / 1.154 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.002, allocations: 95.83 kB / 1.154 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.002, allocations: 40.45 kB / 1.154 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/1.002, allocations: 23.98 kB / 1.154 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002134/1.004, allocations: 1.074 MB / 1.155 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.3e-07/1.004, allocations: 0 / 1.155 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001573/1.006, allocations: 431.6 kB / 1.155 GB, free: 2.672 MB / 0.9044 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.001182/1.007, allocations: 481.7 kB / 1.156 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002231/1.009, allocations: 0.8327 MB / 1.157 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.01, allocations: 0 / 1.157 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.011, allocations: 443.5 kB / 1.157 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/1.015, allocations: 0.6918 MB / 1.158 GB, free: 260 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/1.019, allocations: 2.74 MB / 1.161 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009723/1.02, allocations: 1.176 MB / 1.162 GB, free: 12.26 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001371/1.022, allocations: 259.9 kB / 1.162 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/1.022, allocations: 111.4 kB / 1.162 GB, free: 11.89 MB / 0.92 GB Notification: Performance of SimCode: time 1.113e-06/1.022, allocations: 0 / 1.162 GB, free: 11.89 MB / 0.92 GB Notification: Performance of Templates: time 0.05184/1.074, allocations: 30.04 MB / 1.191 GB, free: 14.2 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches