Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_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.001651/0.001651, 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.001724/0.001724, allocations: 193.7 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 1.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.556/2.556, allocations: 469.8 MB / 0.7421 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001925, allocations: 73.2 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2597, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07449/0.3343, allocations: 69.91 MB / 1.132 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.3583, allocations: 18.78 MB / 1.15 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.3603, allocations: 67.62 kB / 1.15 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.3624, allocations: 0.6996 MB / 1.151 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.3689, allocations: 2.662 MB / 1.154 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.3724, allocations: 1.516 MB / 1.155 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005127/0.3776, allocations: 4.05 MB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.3797, allocations: 1.457 MB / 1.16 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.3834, allocations: 1.782 MB / 1.162 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.3853, allocations: 1.214 MB / 1.163 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.3856, allocations: 176 kB / 1.164 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.3883, allocations: 1.431 MB / 1.165 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.3888, allocations: 390.6 kB / 1.165 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.39, allocations: 0.9216 MB / 1.166 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.394, allocations: 3.097 MB / 1.169 GB, free: 2.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.394, allocations: 4 kB / 1.169 GB, free: 2.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.183e-06/0.394, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.202e-05/0.394, allocations: 0 / 1.169 GB, free: 2.023 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.003595/0.3976, allocations: 2.02 MB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3977, allocations: 8.031 kB / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.3979, allocations: 164.5 kB / 1.171 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.4001, allocations: 446.1 kB / 1.172 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.4025, allocations: 1.504 MB / 1.173 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.4029, allocations: 141.9 kB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.403, allocations: 104 kB / 1.173 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.4056, allocations: 1.293 MB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.4056, allocations: 4 kB / 1.175 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.4057, allocations: 40 kB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.4057, allocations: 28 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.4084, allocations: 1.112 MB / 1.176 GB, free: 10.95 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.008506/0.4169, allocations: 7.144 MB / 1.183 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.4202, allocations: 0.7979 MB / 1.184 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006212/0.4208, allocations: 286 kB / 1.184 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.4224, allocations: 1.726 MB / 1.186 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.4224, allocations: 42.88 kB / 1.186 GB, free: 64 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.4224, allocations: 0 / 1.186 GB, free: 64 kB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.004621/0.4271, allocations: 1.334 MB / 1.187 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4271, allocations: 55.84 kB / 1.187 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.4294, allocations: 1.529 MB / 1.188 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.4294, allocations: 33.7 kB / 1.189 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/0.43, allocations: 0.6653 MB / 1.189 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.4302, allocations: 169.6 kB / 1.189 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.4305, allocations: 170.5 kB / 1.19 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4307, allocations: 337.9 kB / 1.19 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4317, allocations: 357.8 kB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.4329, allocations: 0.6354 MB / 1.191 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.4348, allocations: 0.8444 MB / 1.192 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.4348, allocations: 7.984 kB / 1.192 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004302/0.4391, allocations: 1.329 MB / 1.193 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4391, allocations: 8 kB / 1.193 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4391, allocations: 11.98 kB / 1.193 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.44, allocations: 217 kB / 1.193 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.4408, allocations: 187.7 kB / 1.193 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/0.4417, allocations: 0.7122 MB / 1.194 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.4431, allocations: 238.7 kB / 1.194 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.4432, allocations: 43.98 kB / 1.194 GB, free: 6.887 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.0004979/0.4437, allocations: 361.5 kB / 1.195 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.444, allocations: 150.2 kB / 1.195 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.4464, allocations: 1.134 MB / 1.196 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.4464, allocations: 8 kB / 1.196 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4465, allocations: 11.92 kB / 1.196 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4465, allocations: 3.984 kB / 1.196 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.4517, allocations: 2.502 MB / 1.198 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4517, allocations: 0 / 1.198 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.452, allocations: 96 kB / 1.198 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007276/0.4528, allocations: 204.6 kB / 1.199 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.4528, allocations: 19.94 kB / 1.199 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.4542, allocations: 0.7708 MB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4542, allocations: 7.969 kB / 1.199 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.4575, allocations: 1.203 MB / 1.201 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.458, allocations: 350.9 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4582, allocations: 12 kB / 1.201 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.4592, allocations: 87.91 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.4593, allocations: 40.44 kB / 1.201 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/0.4593, allocations: 31.98 kB / 1.201 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00171/0.461, allocations: 1.07 MB / 1.202 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4611, allocations: 0 / 1.202 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001175/0.4622, allocations: 443.3 kB / 1.203 GB, free: 14.21 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.004504/0.4668, allocations: 2.121 MB / 1.205 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.4691, allocations: 0.868 MB / 1.205 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4691, allocations: 0 / 1.205 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.4704, allocations: 439.5 kB / 1.206 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002919/0.4733, allocations: 0.7414 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/0.5001, allocations: 11.66 MB / 1.218 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/0.5009, allocations: 1.168 MB / 1.219 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001087/0.502, allocations: 268.5 kB / 1.219 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007916/0.5028, allocations: 0.554 MB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.5028, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8694/1.372, allocations: 42.75 MB / 1.262 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.372, allocations: 281 kB / 1.262 GB, free: 179 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/4.4, allocations: 4 kB / 1.262 GB, free: 179 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches