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.001012/0.001012, allocations: 97.78 kB / 16.02 MB, free: 76 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.001382/0.001382, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.000374, allocations: 7.688 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06791/0.4038, allocations: 68.87 MB / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.4265, allocations: 18.78 MB / 1.145 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.4296, allocations: 63.56 kB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.432, allocations: 0.6449 MB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008781/0.4408, allocations: 2.61 MB / 1.148 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/0.4471, allocations: 1.495 MB / 1.15 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007715/0.4548, allocations: 5.009 MB / 1.155 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.4574, allocations: 1.156 MB / 1.156 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.4613, allocations: 1.446 MB / 1.157 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.4638, allocations: 1.112 MB / 1.158 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004617/0.4643, allocations: 56 kB / 1.158 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.4676, allocations: 1.22 MB / 1.159 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005601/0.4682, allocations: 266.6 kB / 1.16 GB, free: 13.9 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.47, allocations: 0.8021 MB / 1.16 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.4735, allocations: 2.377 MB / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4735, allocations: 0 / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.185e-06/0.4735, allocations: 0 / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.455e-05/0.4736, allocations: 4 kB / 1.163 GB, free: 10.7 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.003841/0.4775, allocations: 1.703 MB / 1.164 GB, free: 8.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4775, allocations: 11.97 kB / 1.164 GB, free: 8.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.4801, allocations: 0.4946 MB / 1.165 GB, free: 8.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.4833, allocations: 1.524 MB / 1.166 GB, free: 6.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.4838, allocations: 146 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.484, allocations: 100 kB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/0.4875, allocations: 1.321 MB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.4875, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.4876, allocations: 44 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.4877, allocations: 27.94 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.4907, allocations: 1.163 MB / 1.169 GB, free: 3.953 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.01019/0.5009, allocations: 7.184 MB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.5044, allocations: 0.8935 MB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.5051, allocations: 302 kB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.5064, allocations: 1.718 MB / 1.179 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.5065, allocations: 42.94 kB / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.564e-06/0.5065, allocations: 0 / 1.179 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.005569/0.5121, allocations: 1.448 MB / 1.18 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5122, allocations: 55.84 kB / 1.18 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.5153, allocations: 1.541 MB / 1.182 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.5154, allocations: 37.7 kB / 1.182 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006494/0.5161, allocations: 0.6691 MB / 1.183 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.5163, allocations: 169.6 kB / 1.183 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5164, allocations: 61.69 kB / 1.183 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5166, allocations: 330 kB / 1.183 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.5177, allocations: 393.7 kB / 1.184 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.519, allocations: 0.6627 MB / 1.184 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.5209, allocations: 0.899 MB / 1.185 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.5209, allocations: 0 / 1.185 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004892/0.5258, allocations: 1.442 MB / 1.187 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.5259, allocations: 11.94 kB / 1.187 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.5259, allocations: 4 kB / 1.187 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/0.5269, allocations: 225.4 kB / 1.187 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.5277, allocations: 199.7 kB / 1.187 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009791/0.5287, allocations: 0.7241 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.5307, allocations: 270.7 kB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.5308, allocations: 39.98 kB / 1.188 GB, free: 15.45 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.0008772/0.5317, allocations: 361.5 kB / 1.188 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.5322, allocations: 142.2 kB / 1.188 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.5355, allocations: 1.172 MB / 1.19 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.5356, allocations: 12 kB / 1.19 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.5356, allocations: 3.938 kB / 1.19 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5356, allocations: 3.984 kB / 1.19 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006152/0.5418, allocations: 2.592 MB / 1.192 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.5418, allocations: 0 / 1.192 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.5422, allocations: 87.88 kB / 1.192 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008874/0.5431, allocations: 236.7 kB / 1.192 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.5432, allocations: 15.98 kB / 1.192 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.5446, allocations: 0.8021 MB / 1.193 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5446, allocations: 4.031 kB / 1.193 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003922/0.5485, allocations: 1.289 MB / 1.194 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/0.5495, allocations: 374.8 kB / 1.195 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/0.5499, allocations: 12 kB / 1.195 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.5512, allocations: 115.7 kB / 1.195 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5513, allocations: 40.39 kB / 1.195 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.5514, allocations: 31.98 kB / 1.195 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002325/0.5538, allocations: 1.082 MB / 1.196 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5538, allocations: 0 / 1.196 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001712/0.5555, allocations: 439.4 kB / 1.197 GB, free: 6.473 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.001135/0.5566, allocations: 476.9 kB / 1.197 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002414/0.5591, allocations: 0.8759 MB / 1.198 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.5591, allocations: 0 / 1.198 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.5605, allocations: 479.5 kB / 1.198 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/0.5651, allocations: 0.7101 MB / 1.199 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.5704, allocations: 2.808 MB / 1.202 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/0.5714, allocations: 1.162 MB / 1.203 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/0.5719, allocations: 119.4 kB / 1.203 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/0.5719, allocations: 0 / 1.203 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of Templates: time 0.04783/0.6197, allocations: 33.6 MB / 1.236 GB, free: 14.39 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/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