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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004226/0.004226, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001222/0.001222, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.11 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.5719/0.8483, allocations: 70.59 MB / 1.31 GB, free: 1.301 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.8739, allocations: 18.93 MB / 1.329 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.8757, allocations: 67.31 kB / 1.329 GB, free: 3.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.8779, allocations: 0.8209 MB / 1.33 GB, free: 3.117 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006973/0.8849, allocations: 2.829 MB / 1.333 GB, free: 1.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.8888, allocations: 1.661 MB / 1.334 GB, free: 464 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004908/0.8937, allocations: 4.021 MB / 1.338 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.8955, allocations: 1.455 MB / 1.339 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/0.8992, allocations: 1.889 MB / 1.341 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.9007, allocations: 1.16 MB / 1.342 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.901, allocations: 175 kB / 1.343 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.9038, allocations: 1.414 MB / 1.344 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.9042, allocations: 384.1 kB / 1.344 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009351/0.9052, allocations: 0.9165 MB / 1.345 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.9091, allocations: 3.113 MB / 1.348 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9091, allocations: 0.5156 kB / 1.348 GB, free: 9.578 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.123e-06/0.9092, allocations: 0 / 1.348 GB, free: 9.578 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.9092, allocations: 5.031 kB / 1.348 GB, free: 9.574 MB / 1.061 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.00359/0.9128, allocations: 2.089 MB / 1.35 GB, free: 8.141 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.9128, allocations: 9.906 kB / 1.35 GB, free: 8.141 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.913, allocations: 155.1 kB / 1.351 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.9154, allocations: 454 kB / 1.351 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.918, allocations: 1.558 MB / 1.352 GB, free: 6.965 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.918, allocations: 78.75 kB / 1.353 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.9182, allocations: 106.4 kB / 1.353 GB, free: 6.895 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.9208, allocations: 1.315 MB / 1.354 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.9208, allocations: 5.031 kB / 1.354 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.921, allocations: 43.77 kB / 1.354 GB, free: 6.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.921, allocations: 25.88 kB / 1.354 GB, free: 6.156 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.9238, allocations: 1.102 MB / 1.355 GB, free: 5.633 MB / 1.061 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.008847/0.9327, allocations: 7.52 MB / 1.362 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.9361, allocations: 0.8083 MB / 1.363 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.9368, allocations: 281.3 kB / 1.363 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.9382, allocations: 1.726 MB / 1.365 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9383, allocations: 38.66 kB / 1.365 GB, free: 12.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.9383, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.005003/0.9433, allocations: 1.341 MB / 1.367 GB, free: 11.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.9433, allocations: 60.88 kB / 1.367 GB, free: 11.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.9456, allocations: 1.544 MB / 1.368 GB, free: 10.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.9457, allocations: 38.83 kB / 1.368 GB, free: 10.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.9464, allocations: 0.6885 MB / 1.369 GB, free: 9.773 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.9465, allocations: 177.6 kB / 1.369 GB, free: 9.621 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.9468, allocations: 172.2 kB / 1.369 GB, free: 9.516 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.947, allocations: 332.9 kB / 1.369 GB, free: 9.191 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9481, allocations: 363 kB / 1.37 GB, free: 9.016 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.9494, allocations: 0.6675 MB / 1.37 GB, free: 8.445 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.9514, allocations: 0.8823 MB / 1.371 GB, free: 7.789 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.9515, allocations: 10.25 kB / 1.371 GB, free: 7.781 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003088/0.9546, allocations: 1.193 MB / 1.372 GB, free: 7.164 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9546, allocations: 12.09 kB / 1.372 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9546, allocations: 8.531 kB / 1.372 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/0.9555, allocations: 221.8 kB / 1.373 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.9563, allocations: 194 kB / 1.373 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009386/0.9573, allocations: 0.7226 MB / 1.374 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.9587, allocations: 219.7 kB / 1.374 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.9588, allocations: 43.92 kB / 1.374 GB, free: 6.219 MB / 1.076 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.0005126/0.9594, allocations: 355.5 kB / 1.374 GB, free: 5.953 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.9596, allocations: 158.3 kB / 1.374 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.9622, allocations: 1.141 MB / 1.375 GB, free: 5.199 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.9622, allocations: 11.14 kB / 1.375 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9622, allocations: 0 / 1.375 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.9622, allocations: 9.578 kB / 1.375 GB, free: 5.188 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.9677, allocations: 2.507 MB / 1.378 GB, free: 3.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.9677, allocations: 0.9375 kB / 1.378 GB, free: 3.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.9681, allocations: 81.92 kB / 1.378 GB, free: 3.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.9689, allocations: 214.8 kB / 1.378 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.9689, allocations: 22.73 kB / 1.378 GB, free: 3.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.9704, allocations: 0.7737 MB / 1.379 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9704, allocations: 1.656 kB / 1.379 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/0.974, allocations: 1.206 MB / 1.38 GB, free: 1.887 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.9745, allocations: 363.1 kB / 1.38 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.9747, allocations: 16.42 kB / 1.381 GB, free: 1.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/0.9757, allocations: 74.22 kB / 1.381 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.9758, allocations: 43.22 kB / 1.381 GB, free: 1.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.9758, allocations: 24.7 kB / 1.381 GB, free: 1.488 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001721/0.9776, allocations: 1.084 MB / 1.382 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9776, allocations: 0 / 1.382 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001226/0.9788, allocations: 443.2 kB / 1.382 GB, free: 0.7969 MB / 1.076 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.004821/0.9836, allocations: 2.148 MB / 1.384 GB, free: 15.35 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.9858, allocations: 0.8405 MB / 1.385 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9858, allocations: 1.625 kB / 1.385 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.9873, allocations: 446.5 kB / 1.385 GB, free: 14.76 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.9904, allocations: 0.7446 MB / 1.386 GB, free: 14.36 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.008, allocations: 10.5 MB / 1.396 GB, free: 7.32 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/1.009, allocations: 1.172 MB / 1.398 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009071/1.01, allocations: 262.8 kB / 1.398 GB, free: 5.859 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.011, allocations: 0.5422 MB / 1.398 GB, free: 5.32 MB / 1.092 GB Notification: Performance of SimCode: time 3.427e-06/1.011, allocations: 4 kB / 1.398 GB, free: 5.316 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08062/1.091, allocations: 43.73 MB / 1.441 GB, free: 10.12 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.07, allocations: 7.984 kB / 1.441 GB, free: 10.12 MB / 1.139 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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