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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002147/0.002147, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.809/3.809, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.213/4.213, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.73 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 157.4 MB / 1.052 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09929/0.3591, allocations: 69.92 MB / 1.121 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03926/0.3984, allocations: 18.79 MB / 1.139 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.4013, allocations: 67.56 kB / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.4046, allocations: 0.6996 MB / 1.14 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.416, allocations: 2.653 MB / 1.142 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.4221, allocations: 1.522 MB / 1.144 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007721/0.4299, allocations: 4.05 MB / 1.148 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.4332, allocations: 1.453 MB / 1.149 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.439, allocations: 1.777 MB / 1.151 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/0.442, allocations: 1.218 MB / 1.152 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005425/0.4426, allocations: 176 kB / 1.152 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/0.4473, allocations: 1.431 MB / 1.154 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.448, allocations: 394.6 kB / 1.154 GB, free: 212 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.4501, allocations: 0.9178 MB / 1.155 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.4568, allocations: 3.093 MB / 1.158 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4568, allocations: 0 / 1.158 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.588e-06/0.4568, allocations: 3.984 kB / 1.158 GB, free: 12.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.397e-05/0.4569, allocations: 4 kB / 1.158 GB, free: 12.18 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.006331/0.4632, allocations: 2.027 MB / 1.16 GB, free: 10.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.4633, allocations: 8.625 kB / 1.16 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000364/0.4637, allocations: 156.6 kB / 1.16 GB, free: 9.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.4677, allocations: 454.1 kB / 1.161 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.4721, allocations: 1.508 MB / 1.162 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006586/0.4728, allocations: 130 kB / 1.162 GB, free: 7.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.4731, allocations: 108 kB / 1.162 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.4776, allocations: 1.293 MB / 1.164 GB, free: 6.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.4777, allocations: 4 kB / 1.164 GB, free: 6.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.4779, allocations: 40 kB / 1.164 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.478, allocations: 28 kB / 1.164 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004843/0.4828, allocations: 1.116 MB / 1.165 GB, free: 5.102 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.0151/0.4979, allocations: 7.13 MB / 1.172 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005541/0.5035, allocations: 0.8101 MB / 1.172 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5047, allocations: 282 kB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.5068, allocations: 1.718 MB / 1.174 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.5069, allocations: 42.94 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 4.469e-06/0.5069, allocations: 3.938 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.008169/0.5151, allocations: 1.33 MB / 1.176 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.5151, allocations: 63.84 kB / 1.176 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.5194, allocations: 1.525 MB / 1.177 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.5196, allocations: 37.7 kB / 1.177 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.5205, allocations: 0.6575 MB / 1.178 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.5208, allocations: 177.5 kB / 1.178 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.5213, allocations: 166.5 kB / 1.178 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5215, allocations: 333.9 kB / 1.179 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.5232, allocations: 361.8 kB / 1.179 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.5253, allocations: 0.6315 MB / 1.18 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.5284, allocations: 0.8483 MB / 1.18 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5284, allocations: 4 kB / 1.18 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007442/0.5358, allocations: 1.334 MB / 1.182 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.5359, allocations: 8 kB / 1.182 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.5359, allocations: 8 kB / 1.182 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.5374, allocations: 224.7 kB / 1.182 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.5388, allocations: 175.8 kB / 1.182 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.5402, allocations: 0.7239 MB / 1.183 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.543, allocations: 238.7 kB / 1.183 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.5432, allocations: 39.98 kB / 1.183 GB, free: 1.051 MB / 0.9356 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.0009399/0.5442, allocations: 359.4 kB / 1.183 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.5447, allocations: 150.2 kB / 1.184 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.5489, allocations: 1.132 MB / 1.185 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.549, allocations: 15.98 kB / 1.185 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.549, allocations: 3.938 kB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.549, allocations: 3.984 kB / 1.185 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008861/0.5579, allocations: 2.51 MB / 1.187 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.5579, allocations: 0 / 1.187 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/0.5586, allocations: 87.81 kB / 1.187 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.5599, allocations: 216.8 kB / 1.187 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/0.56, allocations: 16 kB / 1.187 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.5622, allocations: 0.7747 MB / 1.188 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5622, allocations: 8.016 kB / 1.188 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.568, allocations: 1.199 MB / 1.189 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009857/0.5691, allocations: 350.9 kB / 1.19 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.5695, allocations: 12 kB / 1.19 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.5713, allocations: 83.91 kB / 1.19 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5714, allocations: 52.38 kB / 1.19 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.5716, allocations: 27.98 kB / 1.19 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003129/0.5747, allocations: 1.07 MB / 1.191 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5747, allocations: 192 / 1.191 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002157/0.5769, allocations: 443.3 kB / 1.191 GB, free: 8.371 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.007515/0.5844, allocations: 2.117 MB / 1.193 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.5884, allocations: 0.8718 MB / 1.194 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5885, allocations: 0 / 1.194 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.5907, allocations: 439.5 kB / 1.195 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/0.5965, allocations: 0.737 MB / 1.195 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04945/0.6459, allocations: 11.65 MB / 1.207 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.6472, allocations: 1.172 MB / 1.208 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001989/0.6492, allocations: 256 kB / 1.208 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.6505, allocations: 0.5539 MB / 1.209 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/0.6506, allocations: 0 / 1.209 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9581/1.609, allocations: 42.77 MB / 1.251 GB, free: 187 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/1.609, allocations: 291.3 kB / 1.251 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.109/6.718, allocations: 0 / 1.251 GB, free: 186.6 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > 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