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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00164/0.00164, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002493/0.002493, allocations: 198.3 kB / 16.53 MB, free: 6.664 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.67 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07084/0.459, allocations: 70.5 MB / 1.137 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.4845, allocations: 18.93 MB / 1.156 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.4877, allocations: 67.62 kB / 1.156 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.4905, allocations: 0.8189 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.4992, allocations: 2.861 MB / 1.159 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.5041, allocations: 1.637 MB / 1.161 GB, free: 11.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005785/0.5099, allocations: 4.031 MB / 1.165 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.5124, allocations: 1.449 MB / 1.166 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/0.5177, allocations: 1.769 MB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.5204, allocations: 1.179 MB / 1.169 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000608/0.521, allocations: 180 kB / 1.169 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.5255, allocations: 1.416 MB / 1.171 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.5263, allocations: 386.6 kB / 1.171 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/0.5288, allocations: 0.9178 MB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.5356, allocations: 3.066 MB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5356, allocations: 0 / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.637e-06/0.5356, allocations: 4 kB / 1.175 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.528e-05/0.5358, allocations: 7.875 kB / 1.175 GB, free: 12.83 MB / 0.9356 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.005803/0.5416, allocations: 2.027 MB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5416, allocations: 12.03 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.5442, allocations: 446.4 kB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.5475, allocations: 1.485 MB / 1.179 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.5479, allocations: 130 kB / 1.179 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.5482, allocations: 108 kB / 1.179 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.5511, allocations: 1.329 MB / 1.18 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5511, allocations: 0 / 1.18 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.5512, allocations: 44 kB / 1.18 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.5513, allocations: 28 kB / 1.18 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.5542, allocations: 1.112 MB / 1.181 GB, free: 5.898 MB / 0.9356 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.01047/0.5647, allocations: 7.552 MB / 1.189 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.568, allocations: 0.7979 MB / 1.19 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.5687, allocations: 286 kB / 1.19 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.57, allocations: 1.73 MB / 1.192 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5701, allocations: 38.94 kB / 1.192 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.5701, allocations: 0 / 1.192 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005125/0.5752, allocations: 1.33 MB / 1.193 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.5753, allocations: 55.84 kB / 1.193 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.5783, allocations: 1.561 MB / 1.194 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.5784, allocations: 37.7 kB / 1.194 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.579, allocations: 0.6691 MB / 1.195 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.5792, allocations: 173.5 kB / 1.195 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.5795, allocations: 174.4 kB / 1.195 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5797, allocations: 337.9 kB / 1.196 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5807, allocations: 369.8 kB / 1.196 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.582, allocations: 0.6585 MB / 1.197 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.5839, allocations: 0.8985 MB / 1.198 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5839, allocations: 0 / 1.198 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003256/0.5872, allocations: 1.197 MB / 1.199 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.5872, allocations: 12.92 kB / 1.199 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5872, allocations: 8 kB / 1.199 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009336/0.5882, allocations: 224.5 kB / 1.199 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.589, allocations: 195.7 kB / 1.199 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.59, allocations: 0.7163 MB / 1.2 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.5916, allocations: 222.6 kB / 1.2 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5918, allocations: 43.98 kB / 1.2 GB, free: 1.383 MB / 0.9512 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.0007015/0.5925, allocations: 365.7 kB / 1.201 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/0.5929, allocations: 146.2 kB / 1.201 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.5956, allocations: 1.141 MB / 1.202 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.5956, allocations: 8 kB / 1.202 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.5956, allocations: 7.922 kB / 1.202 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5956, allocations: 0 / 1.202 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/0.6013, allocations: 2.51 MB / 1.204 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.6014, allocations: 4 kB / 1.204 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.6017, allocations: 87.81 kB / 1.204 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/0.6025, allocations: 216.8 kB / 1.205 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.6026, allocations: 12 kB / 1.205 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.604, allocations: 0.7786 MB / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.604, allocations: 0 / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.6078, allocations: 1.203 MB / 1.207 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.6088, allocations: 354.9 kB / 1.207 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006235/0.6094, allocations: 15.94 kB / 1.207 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.6112, allocations: 75.91 kB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.6114, allocations: 32.7 kB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6115, allocations: 27.98 kB / 1.207 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003511/0.615, allocations: 1.098 MB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.1e-07/0.615, allocations: 0 / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002485/0.6175, allocations: 439.4 kB / 1.208 GB, free: 8.699 MB / 0.9669 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.001552/0.6191, allocations: 484.3 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00383/0.623, allocations: 0.8837 MB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.623, allocations: 4 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.6247, allocations: 439.6 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/0.6301, allocations: 0.7477 MB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.638, allocations: 2.287 MB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.64, allocations: 1.172 MB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002456/0.6425, allocations: 268.1 kB / 1.215 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.6431, allocations: 115.4 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of SimCode: time 1.453e-06/0.6431, allocations: 0 / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.06816/0.7113, allocations: 31.54 MB / 1.245 GB, free: 3.078 MB / 0.9981 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