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.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.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.001014/0.001014, allocations: 92 kB / 15.36 MB, free: 0.7383 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.00707/0.00707, allocations: 170.2 kB / 16.26 MB, free: 6.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.476/1.476, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.977/2.977, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 9.125 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3971, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06873/0.4659, allocations: 68.88 MB / 1.126 GB, free: 440 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.4917, allocations: 18.78 MB / 1.144 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.4951, allocations: 63.56 kB / 1.144 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.4979, allocations: 0.6566 MB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008699/0.5066, allocations: 2.609 MB / 1.148 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.511, allocations: 1.497 MB / 1.149 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00743/0.5185, allocations: 5.009 MB / 1.154 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.5208, allocations: 1.152 MB / 1.155 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.5248, allocations: 1.45 MB / 1.156 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.5272, allocations: 1.104 MB / 1.157 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.5274, allocations: 60 kB / 1.158 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.5316, allocations: 1.216 MB / 1.159 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.5321, allocations: 262.6 kB / 1.159 GB, free: 14.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.5336, allocations: 0.806 MB / 1.16 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.5385, allocations: 2.952 MB / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5386, allocations: 0 / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5386, allocations: 0 / 1.163 GB, free: 10.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.426e-05/0.5386, allocations: 4 kB / 1.163 GB, free: 10.68 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004341/0.543, allocations: 1.707 MB / 1.164 GB, free: 8.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.543, allocations: 8.031 kB / 1.164 GB, free: 8.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.5453, allocations: 0.4985 MB / 1.165 GB, free: 8.402 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.548, allocations: 1.52 MB / 1.166 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.5484, allocations: 142 kB / 1.166 GB, free: 6.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.5486, allocations: 107.9 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.5512, allocations: 1.322 MB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.5513, allocations: 4 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.5514, allocations: 40 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.5514, allocations: 28 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.5542, allocations: 1.163 MB / 1.169 GB, free: 3.934 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.009568/0.5638, allocations: 7.188 MB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.5672, allocations: 0.8976 MB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.5678, allocations: 298 kB / 1.177 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.5692, allocations: 1.718 MB / 1.179 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.5693, allocations: 42.94 kB / 1.179 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 3.447e-06/0.5693, allocations: 0 / 1.179 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.005074/0.5743, allocations: 1.452 MB / 1.18 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5744, allocations: 63.83 kB / 1.18 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.5768, allocations: 1.529 MB / 1.182 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.5769, allocations: 41.7 kB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.5775, allocations: 0.6653 MB / 1.183 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.5776, allocations: 169.6 kB / 1.183 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.5777, allocations: 57.69 kB / 1.183 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5779, allocations: 334 kB / 1.183 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.5789, allocations: 385.8 kB / 1.183 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5801, allocations: 0.6666 MB / 1.184 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.5818, allocations: 0.8951 MB / 1.185 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5819, allocations: 4 kB / 1.185 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004473/0.5863, allocations: 1.438 MB / 1.186 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5864, allocations: 11.94 kB / 1.186 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5864, allocations: 8 kB / 1.186 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009411/0.5873, allocations: 229.2 kB / 1.187 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.5881, allocations: 199.7 kB / 1.187 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008951/0.589, allocations: 0.7241 MB / 1.188 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.5908, allocations: 272.2 kB / 1.188 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5909, allocations: 39.98 kB / 1.188 GB, free: 15.42 MB / 0.9512 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.0006758/0.5916, allocations: 357.5 kB / 1.188 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5918, allocations: 146.2 kB / 1.188 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.5943, allocations: 1.176 MB / 1.189 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5943, allocations: 4 kB / 1.189 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.5943, allocations: 7.938 kB / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5943, allocations: 3.984 kB / 1.19 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.5996, allocations: 2.596 MB / 1.192 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5997, allocations: 0 / 1.192 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.6, allocations: 91.88 kB / 1.192 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007798/0.6008, allocations: 224.7 kB / 1.192 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.6009, allocations: 19.98 kB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.6023, allocations: 0.806 MB / 1.193 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6024, allocations: 0 / 1.193 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.6059, allocations: 1.285 MB / 1.194 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.6067, allocations: 374.8 kB / 1.195 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.6069, allocations: 12 kB / 1.195 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/0.6079, allocations: 107.8 kB / 1.195 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.608, allocations: 40.45 kB / 1.195 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.608, allocations: 31.98 kB / 1.195 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001778/0.6098, allocations: 1.086 MB / 1.196 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6098, allocations: 0 / 1.196 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00149/0.6113, allocations: 435.4 kB / 1.196 GB, free: 6.453 MB / 0.9512 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.0009888/0.6123, allocations: 478.7 kB / 1.197 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.6145, allocations: 0.8759 MB / 1.198 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6145, allocations: 0 / 1.198 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.6158, allocations: 471.5 kB / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.6195, allocations: 0.7105 MB / 1.199 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.6237, allocations: 2.782 MB / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.6244, allocations: 1.168 MB / 1.203 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001127/0.6255, allocations: 271.9 kB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.6258, allocations: 119.3 kB / 1.203 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.6258, allocations: 0 / 1.203 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.05574/0.6816, allocations: 30.46 MB / 1.233 GB, free: 1.398 MB / 0.9825 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 -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/jenkins/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