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: "" <> 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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001181/0.001181, allocations: 199.1 kB / 16.14 MB, free: 6.711 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 69.14 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2109, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05321/0.2642, allocations: 70.09 MB / 1.121 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.2822, allocations: 19.01 MB / 1.139 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2838, allocations: 63.62 kB / 1.139 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.2852, allocations: 0.6566 MB / 1.14 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.2898, allocations: 2.614 MB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.2923, allocations: 1.48 MB / 1.144 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.2958, allocations: 5.016 MB / 1.149 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.2969, allocations: 1.183 MB / 1.15 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.2987, allocations: 1.501 MB / 1.151 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2997, allocations: 1.159 MB / 1.153 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.2999, allocations: 76 kB / 1.153 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.3016, allocations: 1.239 MB / 1.154 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.3019, allocations: 290.6 kB / 1.154 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.3025, allocations: 0.82 MB / 1.155 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.3048, allocations: 3.019 MB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.3048, allocations: 4 kB / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.41e-07/0.3048, allocations: 0 / 1.158 GB, free: 11.67 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3048, allocations: 0 / 1.158 GB, free: 11.67 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.002634/0.3074, allocations: 2.027 MB / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3075, allocations: 15.91 kB / 1.16 GB, free: 9.566 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.3076, allocations: 156.6 kB / 1.16 GB, free: 9.406 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.3096, allocations: 446.2 kB / 1.16 GB, free: 8.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3115, allocations: 1.508 MB / 1.162 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.3119, allocations: 130 kB / 1.162 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.312, allocations: 108 kB / 1.162 GB, free: 7.168 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.314, allocations: 1.293 MB / 1.163 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3141, allocations: 7.938 kB / 1.163 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.3142, allocations: 40 kB / 1.163 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3142, allocations: 31.94 kB / 1.163 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3165, allocations: 1.112 MB / 1.165 GB, free: 4.586 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.006382/0.3228, allocations: 7.137 MB / 1.172 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.3256, allocations: 0.8027 MB / 1.172 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.3262, allocations: 282 kB / 1.173 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009807/0.3271, allocations: 1.722 MB / 1.174 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3272, allocations: 46.92 kB / 1.174 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 1.663e-06/0.3272, allocations: 0 / 1.174 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.003894/0.3311, allocations: 1.334 MB / 1.176 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.3311, allocations: 55.84 kB / 1.176 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.3329, allocations: 1.521 MB / 1.177 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.3329, allocations: 37.7 kB / 1.177 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.3334, allocations: 0.6653 MB / 1.178 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3335, allocations: 173.5 kB / 1.178 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.3337, allocations: 166.4 kB / 1.178 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.3338, allocations: 337.9 kB / 1.178 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.3347, allocations: 357.8 kB / 1.179 GB, free: 5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.3357, allocations: 0.6393 MB / 1.179 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.3372, allocations: 0.8444 MB / 1.18 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3372, allocations: 4 kB / 1.18 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003521/0.3407, allocations: 1.337 MB / 1.182 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3407, allocations: 8 kB / 1.182 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3408, allocations: 8 kB / 1.182 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.3415, allocations: 217 kB / 1.182 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.3421, allocations: 183.7 kB / 1.182 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.3428, allocations: 0.7124 MB / 1.183 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3441, allocations: 250.6 kB / 1.183 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.3442, allocations: 43.98 kB / 1.183 GB, free: 0.5234 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.0003916/0.3446, allocations: 353.5 kB / 1.183 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.3448, allocations: 150.2 kB / 1.183 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.3468, allocations: 1.133 MB / 1.185 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.3468, allocations: 11.98 kB / 1.185 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3468, allocations: 3.938 kB / 1.185 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3468, allocations: 3.984 kB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.351, allocations: 2.51 MB / 1.187 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3511, allocations: 0 / 1.187 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.3514, allocations: 91.81 kB / 1.187 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/0.352, allocations: 216.7 kB / 1.187 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.3521, allocations: 16 kB / 1.187 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.3531, allocations: 0.7747 MB / 1.188 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3531, allocations: 0 / 1.188 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.356, allocations: 1.199 MB / 1.189 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.3563, allocations: 354.9 kB / 1.19 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.3565, allocations: 12 kB / 1.19 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.3573, allocations: 83.91 kB / 1.19 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.3574, allocations: 52.38 kB / 1.19 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.3575, allocations: 27.98 kB / 1.19 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001344/0.3588, allocations: 1.07 MB / 1.191 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3588, allocations: 0 / 1.191 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009059/0.3598, allocations: 443.3 kB / 1.191 GB, free: 7.852 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.003636/0.3634, allocations: 2.118 MB / 1.193 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.3651, allocations: 0.8329 MB / 1.194 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3651, allocations: 3.938 kB / 1.194 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.3662, allocations: 435.5 kB / 1.195 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.3687, allocations: 0.6826 MB / 1.195 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/0.3904, allocations: 11.68 MB / 1.207 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.3909, allocations: 1.172 MB / 1.208 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007935/0.3917, allocations: 260 kB / 1.208 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/0.3924, allocations: 0.5461 MB / 1.209 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3924, allocations: 0 / 1.209 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.593/3.985, allocations: 41.68 MB / 1.249 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/3.985, allocations: 288.4 kB / 1.25 GB, free: 184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/7.436, allocations: 0 / 1.25 GB, free: 184 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