Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_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.005175/0.005175, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001311/0.001311, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6833, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1272/0.8105, allocations: 132.3 MB / 1.217 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03162/0.8422, allocations: 23.23 MB / 1.239 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.8467, allocations: 124.2 kB / 1.239 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003986/0.8507, allocations: 1.538 MB / 1.241 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.8622, allocations: 4.323 MB / 1.245 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.8676, allocations: 2.176 MB / 1.247 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008563/0.8762, allocations: 6.551 MB / 1.254 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.8802, allocations: 2.355 MB / 1.256 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.887, allocations: 2.824 MB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.8903, allocations: 1.892 MB / 1.261 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008232/0.8911, allocations: 252 kB / 1.261 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/0.896, allocations: 1.934 MB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008608/0.8969, allocations: 0.5992 MB / 1.263 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/0.8993, allocations: 1.458 MB / 1.265 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008102/0.9075, allocations: 4.379 MB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.9075, allocations: 0 / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9075, allocations: 0 / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001013/0.9076, allocations: 0 / 1.269 GB, free: 3.832 MB / 0.9981 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.00721/0.9148, allocations: 3.274 MB / 1.272 GB, free: 480 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9149, allocations: 8.031 kB / 1.272 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/0.9151, allocations: 224 kB / 1.272 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.9198, allocations: 0.8567 MB / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004517/0.9244, allocations: 2.329 MB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.9245, allocations: 127 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.9247, allocations: 160 kB / 1.276 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.9288, allocations: 1.93 MB / 1.278 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.9289, allocations: 0 / 1.278 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.929, allocations: 71.94 kB / 1.278 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.9291, allocations: 36 kB / 1.278 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004811/0.9339, allocations: 1.799 MB / 1.28 GB, free: 8.785 MB / 1.014 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.01251/0.9464, allocations: 9.014 MB / 1.288 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.951, allocations: 1.194 MB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.9522, allocations: 461.1 kB / 1.29 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.9534, allocations: 1.734 MB / 1.292 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.9534, allocations: 38.56 kB / 1.292 GB, free: 11.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.925e-06/0.9534, allocations: 0 / 1.292 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009045/0.9625, allocations: 2.349 MB / 1.294 GB, free: 8.938 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.9626, allocations: 89.05 kB / 1.294 GB, free: 8.832 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.9666, allocations: 2.524 MB / 1.297 GB, free: 6.289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.9667, allocations: 45.7 kB / 1.297 GB, free: 6.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/0.9676, allocations: 1.058 MB / 1.298 GB, free: 5.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.9679, allocations: 285.6 kB / 1.298 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.9683, allocations: 258.7 kB / 1.298 GB, free: 4.629 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9684, allocations: 345.9 kB / 1.298 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.9702, allocations: 0.5725 MB / 1.299 GB, free: 3.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.9723, allocations: 0.9504 MB / 1.3 GB, free: 2.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.9754, allocations: 1.256 MB / 1.301 GB, free: 1.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.9754, allocations: 0 / 1.301 GB, free: 1.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006759/0.9822, allocations: 2.026 MB / 1.303 GB, free: 15.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.9822, allocations: 8.625 kB / 1.303 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.9823, allocations: 11.94 kB / 1.303 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.9841, allocations: 491.1 kB / 1.304 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.9854, allocations: 283.6 kB / 1.304 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.9876, allocations: 1.522 MB / 1.305 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.9904, allocations: 374.5 kB / 1.306 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9906, allocations: 59.91 kB / 1.306 GB, free: 12.42 MB / 1.045 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.0007966/0.9914, allocations: 461.5 kB / 1.306 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.9919, allocations: 262.2 kB / 1.307 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.9956, allocations: 1.507 MB / 1.308 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.9956, allocations: 8 kB / 1.308 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9956, allocations: 4 kB / 1.308 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.9956, allocations: 3.984 kB / 1.308 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/1.003, allocations: 3.609 MB / 1.312 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.003, allocations: 8.031 kB / 1.312 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/1.004, allocations: 131.8 kB / 1.312 GB, free: 6.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/1.006, allocations: 491.2 kB / 1.312 GB, free: 5.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/1.006, allocations: 31.97 kB / 1.312 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/1.008, allocations: 1.581 MB / 1.314 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.008, allocations: 4 kB / 1.314 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006316/1.015, allocations: 1.956 MB / 1.316 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.016, allocations: 0.4951 MB / 1.316 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.016, allocations: 19.94 kB / 1.316 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.018, allocations: 139.8 kB / 1.316 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/1.018, allocations: 59.81 kB / 1.316 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/1.018, allocations: 47.95 kB / 1.316 GB, free: 1.359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002888/1.021, allocations: 1.769 MB / 1.318 GB, free: 15.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.1e-07/1.021, allocations: 0 / 1.318 GB, free: 15.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001913/1.023, allocations: 0.6941 MB / 1.319 GB, free: 14.89 MB / 1.061 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.007455/1.03, allocations: 3.026 MB / 1.322 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00429/1.035, allocations: 1.346 MB / 1.323 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.035, allocations: 0 / 1.323 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/1.037, allocations: 0.6741 MB / 1.324 GB, free: 9.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005981/1.043, allocations: 1.328 MB / 1.325 GB, free: 8.473 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/1.076, allocations: 16.74 MB / 1.341 GB, free: 7.262 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/1.077, allocations: 1.497 MB / 1.343 GB, free: 5.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001791/1.079, allocations: 428.6 kB / 1.343 GB, free: 5.309 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.08, allocations: 0.9015 MB / 1.344 GB, free: 4.406 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.08, allocations: 4 kB / 1.344 GB, free: 4.402 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/1.183, allocations: 66.21 MB / 1.409 GB, free: 3.078 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/17.1, allocations: 5.562 kB / 1.409 GB, free: 3.078 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches