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.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 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.00164/0.00164, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.14 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2534, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06684/0.3203, allocations: 70.51 MB / 1.122 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02292/0.3433, allocations: 18.91 MB / 1.14 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.3453, allocations: 71.62 kB / 1.14 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.3474, allocations: 0.8267 MB / 1.141 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006325/0.3537, allocations: 2.853 MB / 1.144 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.3572, allocations: 1.643 MB / 1.145 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00462/0.3619, allocations: 4.029 MB / 1.149 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.3639, allocations: 1.461 MB / 1.151 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.3674, allocations: 1.759 MB / 1.153 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.3692, allocations: 1.175 MB / 1.154 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.3696, allocations: 176 kB / 1.154 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.3731, allocations: 1.412 MB / 1.155 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.3736, allocations: 390.6 kB / 1.156 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3749, allocations: 0.9177 MB / 1.157 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.3793, allocations: 3.077 MB / 1.16 GB, free: 10.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3793, allocations: 0 / 1.16 GB, free: 10.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3793, allocations: 0 / 1.16 GB, free: 10.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.8e-05/0.3793, allocations: 0 / 1.16 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.003876/0.3832, allocations: 2.027 MB / 1.162 GB, free: 8.605 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3833, allocations: 8.625 kB / 1.162 GB, free: 8.598 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.3835, allocations: 152.6 kB / 1.162 GB, free: 8.441 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.3858, allocations: 454.2 kB / 1.162 GB, free: 7.996 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.3883, allocations: 1.485 MB / 1.164 GB, free: 6.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.3887, allocations: 138 kB / 1.164 GB, free: 6.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.3888, allocations: 104 kB / 1.164 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.3913, allocations: 1.325 MB / 1.165 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.3913, allocations: 0 / 1.165 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3914, allocations: 48 kB / 1.165 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3914, allocations: 24 kB / 1.165 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.3942, allocations: 1.112 MB / 1.166 GB, free: 3.602 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.008316/0.4025, allocations: 7.544 MB / 1.174 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.4058, allocations: 0.8101 MB / 1.174 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.4064, allocations: 278 kB / 1.175 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.4076, allocations: 1.722 MB / 1.176 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4076, allocations: 46.94 kB / 1.176 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.4077, allocations: 3.938 kB / 1.176 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.004835/0.4125, allocations: 1.334 MB / 1.178 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4125, allocations: 55.84 kB / 1.178 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.4149, allocations: 1.557 MB / 1.179 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.415, allocations: 37.7 kB / 1.179 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.4155, allocations: 0.673 MB / 1.18 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.4157, allocations: 169.5 kB / 1.18 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.4159, allocations: 178.4 kB / 1.18 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4161, allocations: 333.9 kB / 1.181 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.4171, allocations: 373.8 kB / 1.181 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4183, allocations: 0.6585 MB / 1.182 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.4202, allocations: 0.8946 MB / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4202, allocations: 0 / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003002/0.4232, allocations: 1.197 MB / 1.184 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4233, allocations: 9.094 kB / 1.184 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4233, allocations: 8 kB / 1.184 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000848/0.4241, allocations: 228.6 kB / 1.184 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.4249, allocations: 199.7 kB / 1.184 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000834/0.4258, allocations: 0.7201 MB / 1.185 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.4273, allocations: 218.7 kB / 1.185 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.4274, allocations: 43.98 kB / 1.185 GB, free: 15.09 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.0005156/0.4279, allocations: 354.9 kB / 1.185 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.4282, allocations: 154.1 kB / 1.186 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4306, allocations: 1.144 MB / 1.187 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4306, allocations: 12 kB / 1.187 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4306, allocations: 3.938 kB / 1.187 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4307, allocations: 3.984 kB / 1.187 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.4358, allocations: 2.51 MB / 1.189 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4358, allocations: 0 / 1.189 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.4362, allocations: 83.89 kB / 1.189 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007334/0.4369, allocations: 208.8 kB / 1.189 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.437, allocations: 20.08 kB / 1.189 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.4383, allocations: 0.7786 MB / 1.19 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4383, allocations: 0 / 1.19 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.4418, allocations: 1.207 MB / 1.191 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.4425, allocations: 354.8 kB / 1.192 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.4427, allocations: 11.98 kB / 1.192 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/0.4437, allocations: 75.92 kB / 1.192 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.4438, allocations: 40.5 kB / 1.192 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.4439, allocations: 23.98 kB / 1.192 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001942/0.4459, allocations: 1.098 MB / 1.193 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4459, allocations: 0 / 1.193 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001359/0.4472, allocations: 439.4 kB / 1.193 GB, free: 6.402 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.004614/0.4519, allocations: 2.129 MB / 1.195 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.4543, allocations: 0.8798 MB / 1.196 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4543, allocations: 4 kB / 1.196 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.4557, allocations: 439.6 kB / 1.197 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/0.4592, allocations: 0.7499 MB / 1.197 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/0.4775, allocations: 11.4 MB / 1.209 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.4782, allocations: 1.172 MB / 1.21 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001116/0.4794, allocations: 261.5 kB / 1.21 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007234/0.4801, allocations: 0.5461 MB / 1.21 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.4801, allocations: 0 / 1.21 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.101/1.581, allocations: 43.42 MB / 1.253 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.81, allocations: 8.125 kB / 1.253 GB, free: 183.2 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