Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.005197/0.005197, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.001165/0.001165, allocations: 196.5 kB / 16.68 MB, free: 5.977 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6903, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1307/0.821, allocations: 132.3 MB / 1.349 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03212/0.8531, allocations: 23.21 MB / 1.372 GB, free: 6.27 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00402/0.8572, allocations: 127.2 kB / 1.372 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004499/0.8617, allocations: 1.537 MB / 1.373 GB, free: 4.598 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.8731, allocations: 4.321 MB / 1.377 GB, free: 264 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.8783, allocations: 2.17 MB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008149/0.8865, allocations: 6.564 MB / 1.386 GB, free: 7.523 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.89, allocations: 2.355 MB / 1.388 GB, free: 5.105 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005916/0.8959, allocations: 2.818 MB / 1.391 GB, free: 2.289 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.899, allocations: 1.89 MB / 1.393 GB, free: 400 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00068/0.8997, allocations: 248 kB / 1.393 GB, free: 152 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.9043, allocations: 1.934 MB / 1.395 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008897/0.9052, allocations: 0.6031 MB / 1.396 GB, free: 13.61 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.9078, allocations: 1.454 MB / 1.397 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008021/0.9159, allocations: 4.379 MB / 1.401 GB, free: 7.754 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9159, allocations: 8 kB / 1.401 GB, free: 7.746 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9159, allocations: 0 / 1.401 GB, free: 7.746 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001112/0.916, allocations: 0 / 1.401 GB, free: 7.746 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007457/0.9235, allocations: 3.278 MB / 1.404 GB, free: 4.379 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9235, allocations: 8.625 kB / 1.404 GB, free: 4.371 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004407/0.924, allocations: 228 kB / 1.405 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.9287, allocations: 0.8572 MB / 1.406 GB, free: 3.277 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/0.9345, allocations: 2.325 MB / 1.408 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.9347, allocations: 123 kB / 1.408 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004957/0.9352, allocations: 167.9 kB / 1.408 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00496/0.9401, allocations: 1.919 MB / 1.41 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.9402, allocations: 3.938 kB / 1.41 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.9404, allocations: 68 kB / 1.41 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.9404, allocations: 36 kB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/0.9452, allocations: 1.803 MB / 1.412 GB, free: 12.7 MB / 1.139 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.01305/0.9583, allocations: 9.014 MB / 1.421 GB, free: 3.086 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/0.9627, allocations: 1.209 MB / 1.422 GB, free: 1.859 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.9639, allocations: 463 kB / 1.422 GB, free: 1.402 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.965, allocations: 1.719 MB / 1.424 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.965, allocations: 42.56 kB / 1.424 GB, free: 15.25 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.965, allocations: 0 / 1.424 GB, free: 15.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.008876/0.9739, allocations: 2.353 MB / 1.426 GB, free: 12.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.974, allocations: 89.05 kB / 1.426 GB, free: 12.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.9785, allocations: 2.52 MB / 1.429 GB, free: 10.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.9787, allocations: 45.7 kB / 1.429 GB, free: 10.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009199/0.9796, allocations: 1.058 MB / 1.43 GB, free: 9.078 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.9799, allocations: 285.6 kB / 1.43 GB, free: 8.797 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.9804, allocations: 258.6 kB / 1.43 GB, free: 8.535 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9805, allocations: 349.9 kB / 1.431 GB, free: 8.188 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.9823, allocations: 0.5725 MB / 1.431 GB, free: 7.617 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.9845, allocations: 0.9543 MB / 1.432 GB, free: 6.508 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.9877, allocations: 1.252 MB / 1.433 GB, free: 5.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9877, allocations: 0 / 1.433 GB, free: 5.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006791/0.9945, allocations: 2.038 MB / 1.435 GB, free: 3.098 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.9945, allocations: 8 kB / 1.435 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.9945, allocations: 8 kB / 1.435 GB, free: 3.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.9964, allocations: 489.4 kB / 1.436 GB, free: 2.598 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.9977, allocations: 279.5 kB / 1.436 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.9999, allocations: 1.516 MB / 1.438 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/1.003, allocations: 378.5 kB / 1.438 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.003, allocations: 55.97 kB / 1.438 GB, free: 340 kB / 1.154 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008862/1.004, allocations: 457.6 kB / 1.439 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/1.004, allocations: 266.3 kB / 1.439 GB, free: 15.61 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.008, allocations: 1.501 MB / 1.44 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.008, allocations: 8 kB / 1.44 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.008, allocations: 0 / 1.44 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.008, allocations: 3.984 kB / 1.44 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008293/1.017, allocations: 3.624 MB / 1.444 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.017, allocations: 4 kB / 1.444 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/1.017, allocations: 136.1 kB / 1.444 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/1.019, allocations: 495.3 kB / 1.444 GB, free: 9.727 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/1.019, allocations: 23.98 kB / 1.444 GB, free: 9.703 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/1.022, allocations: 1.577 MB / 1.446 GB, free: 8.074 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.022, allocations: 7.969 kB / 1.446 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/1.028, allocations: 1.96 MB / 1.448 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.03, allocations: 0.4951 MB / 1.448 GB, free: 5.527 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000585/1.03, allocations: 19.94 kB / 1.448 GB, free: 5.508 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.032, allocations: 143.8 kB / 1.449 GB, free: 5.367 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/1.032, allocations: 55.86 kB / 1.449 GB, free: 5.312 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/1.033, allocations: 43.97 kB / 1.449 GB, free: 5.27 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003434/1.036, allocations: 1.773 MB / 1.45 GB, free: 3.492 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.4e-07/1.036, allocations: 0 / 1.45 GB, free: 3.492 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002198/1.038, allocations: 0.6941 MB / 1.451 GB, free: 2.797 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00787/1.046, allocations: 3.014 MB / 1.454 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004409/1.051, allocations: 1.345 MB / 1.455 GB, free: 14.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.051, allocations: 4.188 kB / 1.455 GB, free: 14.37 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.053, allocations: 0.6786 MB / 1.456 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/1.06, allocations: 1.337 MB / 1.457 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/1.097, allocations: 16.73 MB / 1.474 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/1.098, allocations: 1.49 MB / 1.475 GB, free: 9.652 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002367/1.101, allocations: 443.8 kB / 1.475 GB, free: 9.219 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/1.102, allocations: 0.9015 MB / 1.476 GB, free: 8.316 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/1.102, allocations: 0 / 1.476 GB, free: 8.316 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.212, allocations: 66.21 MB / 1.541 GB, free: 6.922 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.43, allocations: 6.516 kB / 1.541 GB, free: 6.918 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches