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 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.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.007135/0.007141, allocations: 101 kB / 15.73 MB, free: 6.004 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.001708/0.001709, allocations: 193.5 kB / 16.67 MB, free: 5.922 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.557/2.557, allocations: 472.7 MB / 0.7453 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7173, allocations: 159.9 MB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1129/0.8302, allocations: 132.3 MB / 1.354 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02897/0.8592, allocations: 23.24 MB / 1.377 GB, free: 1.395 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.8635, allocations: 123.2 kB / 1.377 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.8676, allocations: 1.537 MB / 1.379 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.8789, allocations: 4.315 MB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/0.8842, allocations: 2.179 MB / 1.385 GB, free: 9.238 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008767/0.893, allocations: 6.541 MB / 1.391 GB, free: 2.676 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.8961, allocations: 2.359 MB / 1.394 GB, free: 264 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005407/0.9015, allocations: 2.807 MB / 1.396 GB, free: 13.45 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.9041, allocations: 1.894 MB / 1.398 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.9045, allocations: 248 kB / 1.399 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.9084, allocations: 1.942 MB / 1.4 GB, free: 9.359 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005331/0.9089, allocations: 0.5992 MB / 1.401 GB, free: 8.758 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.9104, allocations: 1.462 MB / 1.402 GB, free: 7.289 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.916, allocations: 4.379 MB / 1.407 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.916, allocations: 0 / 1.407 GB, free: 2.898 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.393e-06/0.916, allocations: 0 / 1.407 GB, free: 2.898 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.9161, allocations: 0 / 1.407 GB, free: 2.898 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.005168/0.9212, allocations: 3.262 MB / 1.41 GB, free: 15.54 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.9213, allocations: 20.02 kB / 1.41 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002336/0.9215, allocations: 223.9 kB / 1.41 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.9257, allocations: 0.8572 MB / 1.411 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.9298, allocations: 2.34 MB / 1.413 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.529e-05/0.9299, allocations: 123 kB / 1.413 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.9301, allocations: 160 kB / 1.414 GB, free: 11.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.9338, allocations: 1.926 MB / 1.415 GB, free: 9.754 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.9339, allocations: 4 kB / 1.415 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.934, allocations: 60 kB / 1.415 GB, free: 9.691 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.934, allocations: 40 kB / 1.416 GB, free: 9.652 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.9384, allocations: 1.803 MB / 1.417 GB, free: 7.848 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.01189/0.9503, allocations: 9.01 MB / 1.426 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.9545, allocations: 1.209 MB / 1.427 GB, free: 13.01 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.9556, allocations: 461.4 kB / 1.428 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9566, allocations: 1.726 MB / 1.429 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.9566, allocations: 42.56 kB / 1.429 GB, free: 10.39 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/0.9566, allocations: 0 / 1.429 GB, free: 10.39 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.008188/0.9648, allocations: 2.353 MB / 1.432 GB, free: 7.98 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.9649, allocations: 89.09 kB / 1.432 GB, free: 7.875 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.9684, allocations: 2.52 MB / 1.434 GB, free: 5.336 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.9685, allocations: 49.64 kB / 1.434 GB, free: 5.281 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/0.9693, allocations: 1.051 MB / 1.435 GB, free: 4.223 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.9695, allocations: 281.6 kB / 1.436 GB, free: 3.945 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.9699, allocations: 262.7 kB / 1.436 GB, free: 3.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.97, allocations: 345.9 kB / 1.436 GB, free: 3.336 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.9717, allocations: 0.5763 MB / 1.437 GB, free: 2.762 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.9736, allocations: 0.9465 MB / 1.438 GB, free: 1.66 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.9765, allocations: 1.244 MB / 1.439 GB, free: 316 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.9765, allocations: 4 kB / 1.439 GB, free: 312 kB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006151/0.9826, allocations: 2.038 MB / 1.441 GB, free: 14.25 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9827, allocations: 8 kB / 1.441 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.9827, allocations: 12.06 kB / 1.441 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.9845, allocations: 493.1 kB / 1.441 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.9856, allocations: 283.6 kB / 1.442 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.9877, allocations: 1.52 MB / 1.443 GB, free: 11.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.9902, allocations: 374.5 kB / 1.443 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.9903, allocations: 59.97 kB / 1.444 GB, free: 11.47 MB / 1.17 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.0008386/0.9912, allocations: 453.5 kB / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/0.9917, allocations: 262.3 kB / 1.444 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.9954, allocations: 1.501 MB / 1.446 GB, free: 9.238 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.9955, allocations: 23.92 kB / 1.446 GB, free: 9.215 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9955, allocations: 0 / 1.446 GB, free: 9.215 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.9955, allocations: 3.984 kB / 1.446 GB, free: 9.211 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/1.003, allocations: 3.616 MB / 1.449 GB, free: 5.484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.003, allocations: 4 kB / 1.449 GB, free: 5.48 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/1.004, allocations: 131.7 kB / 1.449 GB, free: 5.352 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.005, allocations: 495.1 kB / 1.45 GB, free: 4.863 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/1.005, allocations: 23.98 kB / 1.45 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/1.008, allocations: 1.585 MB / 1.451 GB, free: 3.203 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.008, allocations: 4 kB / 1.451 GB, free: 3.199 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/1.014, allocations: 1.96 MB / 1.453 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/1.014, allocations: 0.495 MB / 1.454 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/1.015, allocations: 23.94 kB / 1.454 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.017, allocations: 139.8 kB / 1.454 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/1.017, allocations: 55.78 kB / 1.454 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/1.017, allocations: 47.91 kB / 1.454 GB, free: 408 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003031/1.02, allocations: 1.777 MB / 1.456 GB, free: 14.62 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/1.02, allocations: 0 / 1.456 GB, free: 14.62 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001964/1.022, allocations: 0.6902 MB / 1.456 GB, free: 13.93 MB / 1.186 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.006985/1.029, allocations: 3.014 MB / 1.459 GB, free: 10.85 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003966/1.033, allocations: 1.342 MB / 1.461 GB, free: 9.508 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.033, allocations: 0 / 1.461 GB, free: 9.508 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.035, allocations: 0.6742 MB / 1.461 GB, free: 8.832 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/1.041, allocations: 1.332 MB / 1.463 GB, free: 7.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/1.074, allocations: 16.74 MB / 1.479 GB, free: 6.312 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.075, allocations: 1.497 MB / 1.481 GB, free: 4.785 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001864/1.077, allocations: 427.7 kB / 1.481 GB, free: 4.367 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.078, allocations: 0.9014 MB / 1.482 GB, free: 3.465 MB / 1.201 GB Notification: Performance of SimCode: time 7.92e-07/1.078, allocations: 7.938 kB / 1.482 GB, free: 3.457 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09707/1.175, allocations: 66.21 MB / 1.546 GB, free: 2.062 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.46, allocations: 11.81 kB / 1.546 GB, free: 2.055 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