Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_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.0008645/0.0008644, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005165/0.005165, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003249, allocations: 8.281 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5346, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06125/0.5958, allocations: 68.87 MB / 1.09 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.6164, allocations: 18.78 MB / 1.109 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.618, allocations: 59.62 kB / 1.109 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.6196, allocations: 0.6526 MB / 1.109 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.6251, allocations: 2.614 MB / 1.112 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.628, allocations: 1.488 MB / 1.113 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.6327, allocations: 5.013 MB / 1.118 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.6343, allocations: 1.148 MB / 1.119 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.6369, allocations: 1.454 MB / 1.121 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.6384, allocations: 1.104 MB / 1.122 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.6385, allocations: 56 kB / 1.122 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.6405, allocations: 1.228 MB / 1.123 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.6407, allocations: 266.6 kB / 1.123 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.6414, allocations: 0.7983 MB / 1.124 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.6439, allocations: 2.952 MB / 1.127 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.6439, allocations: 0 / 1.127 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.796e-06/0.6439, allocations: 0 / 1.127 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.6439, allocations: 3.938 kB / 1.127 GB, free: 5.023 MB / 0.8731 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.002511/0.6464, allocations: 1.711 MB / 1.129 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6465, allocations: 12.02 kB / 1.129 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.6467, allocations: 156.6 kB / 1.129 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.6488, allocations: 0.4982 MB / 1.129 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.6509, allocations: 1.508 MB / 1.131 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.6512, allocations: 142 kB / 1.131 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.6514, allocations: 104 kB / 1.131 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.6537, allocations: 1.328 MB / 1.132 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.6537, allocations: 3.938 kB / 1.132 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.6538, allocations: 44 kB / 1.132 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.6538, allocations: 24 kB / 1.133 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.6565, allocations: 1.163 MB / 1.134 GB, free: 14.12 MB / 0.8887 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.007199/0.6637, allocations: 7.18 MB / 1.141 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.6668, allocations: 0.8943 MB / 1.142 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.6674, allocations: 298 kB / 1.142 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.6685, allocations: 1.718 MB / 1.143 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.6686, allocations: 50.88 kB / 1.144 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.6686, allocations: 0 / 1.144 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004588/0.6732, allocations: 1.452 MB / 1.145 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.6732, allocations: 55.84 kB / 1.145 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.6752, allocations: 1.529 MB / 1.147 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.6753, allocations: 37.7 kB / 1.147 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.6758, allocations: 0.6652 MB / 1.147 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6759, allocations: 165.6 kB / 1.147 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.676, allocations: 61.67 kB / 1.147 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.6761, allocations: 341.9 kB / 1.148 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009758/0.6771, allocations: 385.8 kB / 1.148 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.6783, allocations: 0.6666 MB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.68, allocations: 0.8873 MB / 1.15 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.68, allocations: 4 kB / 1.15 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004156/0.6842, allocations: 1.439 MB / 1.151 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6842, allocations: 15.92 kB / 1.151 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6842, allocations: 8 kB / 1.151 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007915/0.685, allocations: 224.8 kB / 1.151 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.6857, allocations: 199.7 kB / 1.151 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007849/0.6865, allocations: 0.7356 MB / 1.152 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.688, allocations: 258.7 kB / 1.152 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.688, allocations: 47.97 kB / 1.152 GB, free: 9.609 MB / 0.9044 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.0004355/0.6885, allocations: 349.6 kB / 1.153 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.6887, allocations: 146.2 kB / 1.153 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.6909, allocations: 1.182 MB / 1.154 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6909, allocations: 11.98 kB / 1.154 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6909, allocations: 7.875 kB / 1.154 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6909, allocations: 0 / 1.154 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.6957, allocations: 2.588 MB / 1.157 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6958, allocations: 0 / 1.157 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.6961, allocations: 96.02 kB / 1.157 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.6968, allocations: 220.6 kB / 1.157 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.6969, allocations: 19.98 kB / 1.157 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.6982, allocations: 0.7983 MB / 1.158 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6982, allocations: 0 / 1.158 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.7015, allocations: 1.293 MB / 1.159 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.7019, allocations: 370.9 kB / 1.159 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.7021, allocations: 15.98 kB / 1.159 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009351/0.7031, allocations: 107.8 kB / 1.159 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.7031, allocations: 44.62 kB / 1.16 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.7032, allocations: 31.98 kB / 1.16 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001638/0.7049, allocations: 1.086 MB / 1.161 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7049, allocations: 0 / 1.161 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001036/0.7059, allocations: 435.3 kB / 1.161 GB, free: 0.6406 MB / 0.9044 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.004254/0.7102, allocations: 2.205 MB / 1.163 GB, free: 14.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002/0.7122, allocations: 0.8719 MB / 1.164 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7122, allocations: 0 / 1.164 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.7135, allocations: 483.5 kB / 1.164 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/0.7166, allocations: 0.7055 MB / 1.165 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.7408, allocations: 11.86 MB / 1.177 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.7414, allocations: 1.168 MB / 1.178 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009102/0.7424, allocations: 263.9 kB / 1.178 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/0.743, allocations: 0.5539 MB / 1.179 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.7431, allocations: 0 / 1.179 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.257/9, allocations: 42.2 MB / 1.22 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/9, allocations: 275.7 kB / 1.22 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/13.26, allocations: 0 / 1.22 GB, free: 3.883 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches