Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",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.007535/0.007535, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001787/0.001787, allocations: 201 kB / 16.68 MB, free: 5.969 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.348/1.348, 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 9.1.3-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.92 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2294, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7377/0.9671, allocations: 237.6 MB / 1.319 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.9843, allocations: 15.78 MB / 1.335 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.9865, allocations: 64.34 kB / 1.335 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.9888, allocations: 1.071 MB / 1.336 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.9956, allocations: 3.1 MB / 1.339 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.9997, allocations: 1.696 MB / 1.341 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004374/1.004, allocations: 3.448 MB / 1.344 GB, free: 2.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/1.006, allocations: 1.297 MB / 1.345 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005442/1.011, allocations: 2.569 MB / 1.348 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/1.013, allocations: 1.08 MB / 1.349 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/1.013, allocations: 116 kB / 1.349 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/1.018, allocations: 3.112 MB / 1.352 GB, free: 488 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/1.018, allocations: 474.5 kB / 1.352 GB, free: 280 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009637/1.019, allocations: 0.8194 MB / 1.353 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004416/1.024, allocations: 2.972 MB / 1.356 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.024, allocations: 0 / 1.356 GB, free: 14.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/1.024, allocations: 0 / 1.356 GB, free: 14.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.163e-05/1.024, allocations: 3.312 kB / 1.356 GB, free: 14.94 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003404/1.027, allocations: 2.063 MB / 1.358 GB, free: 13.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.027, allocations: 8.438 kB / 1.358 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/1.027, allocations: 164.4 kB / 1.358 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/1.03, allocations: 0.5018 MB / 1.359 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/1.032, allocations: 1.176 MB / 1.36 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/1.032, allocations: 79.7 kB / 1.36 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/1.033, allocations: 99.72 kB / 1.36 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.035, allocations: 1.351 MB / 1.361 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/1.035, allocations: 12.53 kB / 1.362 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.035, allocations: 46.34 kB / 1.362 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/1.035, allocations: 45 kB / 1.362 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/1.037, allocations: 1.054 MB / 1.363 GB, free: 11.56 MB / 1.029 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.006879/1.044, allocations: 7.394 MB / 1.37 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.046, allocations: 0.541 MB / 1.37 GB, free: 5.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/1.046, allocations: 261 kB / 1.371 GB, free: 5.426 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/1.047, allocations: 280.3 kB / 1.371 GB, free: 5.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.047, allocations: 39.97 kB / 1.371 GB, free: 5.094 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/1.047, allocations: 2.094 kB / 1.371 GB, free: 5.094 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0023/1.049, allocations: 0.8483 MB / 1.372 GB, free: 4.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/1.049, allocations: 53.69 kB / 1.372 GB, free: 4.742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.051, allocations: 1.394 MB / 1.373 GB, free: 4.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/1.051, allocations: 36.77 kB / 1.373 GB, free: 4.168 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/1.051, allocations: 0.7139 MB / 1.374 GB, free: 3.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.051, allocations: 129.2 kB / 1.374 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/1.052, allocations: 167.7 kB / 1.374 GB, free: 3.422 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.052, allocations: 330.6 kB / 1.374 GB, free: 3.105 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/1.052, allocations: 315.9 kB / 1.375 GB, free: 3.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.054, allocations: 0.6901 MB / 1.375 GB, free: 2.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/1.055, allocations: 0.9336 MB / 1.376 GB, free: 1.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.055, allocations: 10.66 kB / 1.376 GB, free: 1.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00223/1.057, allocations: 1.049 MB / 1.377 GB, free: 1.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.057, allocations: 14.69 kB / 1.377 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.057, allocations: 14.22 kB / 1.377 GB, free: 1.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.058, allocations: 17.19 kB / 1.377 GB, free: 1.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/1.058, allocations: 204.3 kB / 1.378 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.058, allocations: 24.58 kB / 1.378 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.06, allocations: 182.2 kB / 1.378 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/1.06, allocations: 45.78 kB / 1.378 GB, free: 1.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001129/1.061, allocations: 0.561 MB / 1.378 GB, free: 1.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001013/1.062, allocations: 0.6834 MB / 1.379 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0016/1.064, allocations: 0.9322 MB / 1.38 GB, free: 15.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/1.064, allocations: 5.938 kB / 1.38 GB, free: 15.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00213/1.066, allocations: 1.05 MB / 1.381 GB, free: 15.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.066, allocations: 10.22 kB / 1.381 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.066, allocations: 17.89 kB / 1.381 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.066, allocations: 19.69 kB / 1.381 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/1.067, allocations: 209.6 kB / 1.381 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.067, allocations: 23.45 kB / 1.381 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.068, allocations: 131.5 kB / 1.381 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/1.068, allocations: 40.89 kB / 1.381 GB, free: 15.52 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002123/1.068, allocations: 234.5 kB / 1.382 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/1.068, allocations: 150.6 kB / 1.382 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.07, allocations: 0.6501 MB / 1.382 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.07, allocations: 2.344 kB / 1.382 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.07, allocations: 0 / 1.382 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.07, allocations: 0.9375 kB / 1.382 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/1.073, allocations: 1.88 MB / 1.384 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.073, allocations: 4.781 kB / 1.384 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/1.074, allocations: 97.7 kB / 1.384 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/1.074, allocations: 5.094 kB / 1.384 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/1.074, allocations: 13.08 kB / 1.384 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/1.074, allocations: 13.81 kB / 1.384 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.074, allocations: 6.844 kB / 1.384 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/1.075, allocations: 0.8147 MB / 1.385 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/1.076, allocations: 309 kB / 1.386 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.076, allocations: 16.81 kB / 1.386 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.077, allocations: 67.05 kB / 1.386 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/1.077, allocations: 35.78 kB / 1.386 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.077, allocations: 21.14 kB / 1.386 GB, free: 12.92 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001389/1.078, allocations: 1.008 MB / 1.387 GB, free: 12.38 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.078, allocations: 0 / 1.387 GB, free: 12.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001828/1.08, allocations: 0.5792 MB / 1.387 GB, free: 12.29 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002215/1.083, allocations: 1.515 MB / 1.389 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002747/1.085, allocations: 1.124 MB / 1.39 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.085, allocations: 0 / 1.39 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/1.086, allocations: 257.7 kB / 1.39 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.089, allocations: 0.7509 MB / 1.391 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.105, allocations: 9.835 MB / 1.4 GB, free: 4.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/1.106, allocations: 1.185 MB / 1.402 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001498/1.108, allocations: 388.3 kB / 1.402 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006701/1.108, allocations: 0.4946 MB / 1.402 GB, free: 2.5 MB / 1.045 GB Notification: Performance of SimCode: time 1.773e-06/1.108, allocations: 0 / 1.402 GB, free: 2.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/1.168, allocations: 35.61 MB / 1.437 GB, free: 128 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.83/11, allocations: 13.34 kB / 1.437 GB, free: 120 kB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches