Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_10_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.00739/0.00739, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002005/0.002005, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 71.83 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6905, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2653/0.9558, allocations: 237.6 MB / 1.398 GB, free: 5.324 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.9783, allocations: 15.78 MB / 1.414 GB, free: 5.496 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.9805, allocations: 63.62 kB / 1.414 GB, free: 5.434 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.9831, allocations: 1.037 MB / 1.415 GB, free: 4.391 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007538/0.9907, allocations: 2.981 MB / 1.418 GB, free: 1.398 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.9949, allocations: 1.675 MB / 1.419 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.9999, allocations: 3.439 MB / 1.423 GB, free: 12.28 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/1.002, allocations: 1.291 MB / 1.424 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/1.008, allocations: 2.494 MB / 1.426 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/1.01, allocations: 1.079 MB / 1.427 GB, free: 7.391 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002344/1.01, allocations: 120 kB / 1.427 GB, free: 7.273 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006122/1.016, allocations: 3.106 MB / 1.43 GB, free: 4.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006718/1.017, allocations: 474.5 kB / 1.431 GB, free: 3.695 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.018, allocations: 0.8085 MB / 1.432 GB, free: 2.883 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005484/1.024, allocations: 2.974 MB / 1.435 GB, free: 15.9 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.024, allocations: 0 / 1.435 GB, free: 15.9 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.753e-06/1.024, allocations: 0 / 1.435 GB, free: 15.9 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.024, allocations: 0 / 1.435 GB, free: 15.9 MB / 1.17 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.003747/1.027, allocations: 2.068 MB / 1.437 GB, free: 13.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.027, allocations: 8.922 kB / 1.437 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/1.028, allocations: 156.2 kB / 1.437 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/1.03, allocations: 0.5024 MB / 1.437 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/1.033, allocations: 1.177 MB / 1.438 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/1.033, allocations: 81.98 kB / 1.438 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.033, allocations: 100 kB / 1.439 GB, free: 11.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/1.036, allocations: 1.344 MB / 1.44 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/1.036, allocations: 7.938 kB / 1.44 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.036, allocations: 44 kB / 1.44 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/1.036, allocations: 45.98 kB / 1.44 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/1.038, allocations: 1.054 MB / 1.441 GB, free: 9.078 MB / 1.17 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.008182/1.046, allocations: 7.404 MB / 1.448 GB, free: 1.199 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.048, allocations: 0.5386 MB / 1.449 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/1.049, allocations: 265.2 kB / 1.449 GB, free: 400 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/1.049, allocations: 279.6 kB / 1.449 GB, free: 64 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/1.049, allocations: 46.78 kB / 1.449 GB, free: 8 kB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/1.049, allocations: 0 / 1.449 GB, free: 8 kB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.002413/1.052, allocations: 0.8451 MB / 1.45 GB, free: 15.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.052, allocations: 55.41 kB / 1.45 GB, free: 15.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/1.054, allocations: 1.391 MB / 1.452 GB, free: 13.68 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/1.054, allocations: 37.7 kB / 1.452 GB, free: 13.64 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/1.054, allocations: 0.7196 MB / 1.452 GB, free: 12.92 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.055, allocations: 123 kB / 1.452 GB, free: 12.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/1.055, allocations: 170.5 kB / 1.453 GB, free: 12.62 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.055, allocations: 334 kB / 1.453 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008742/1.056, allocations: 312.6 kB / 1.453 GB, free: 11.98 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.057, allocations: 0.6891 MB / 1.454 GB, free: 11.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/1.059, allocations: 0.927 MB / 1.455 GB, free: 10.03 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.059, allocations: 4 kB / 1.455 GB, free: 10.03 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002386/1.061, allocations: 1.054 MB / 1.456 GB, free: 8.965 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.061, allocations: 15.98 kB / 1.456 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.061, allocations: 12 kB / 1.456 GB, free: 8.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.061, allocations: 16.81 kB / 1.456 GB, free: 8.922 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008437/1.062, allocations: 211.6 kB / 1.456 GB, free: 8.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/1.062, allocations: 23.92 kB / 1.456 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.064, allocations: 183 kB / 1.456 GB, free: 8.512 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/1.064, allocations: 43.98 kB / 1.456 GB, free: 8.469 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001237/1.065, allocations: 0.5643 MB / 1.457 GB, free: 7.902 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001174/1.066, allocations: 0.6852 MB / 1.458 GB, free: 7.039 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/1.068, allocations: 0.9295 MB / 1.458 GB, free: 5.949 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.283e-06/1.068, allocations: 4 kB / 1.458 GB, free: 5.945 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002377/1.07, allocations: 1.055 MB / 1.459 GB, free: 4.883 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.07, allocations: 8 kB / 1.459 GB, free: 4.875 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.07, allocations: 12 kB / 1.459 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/1.07, allocations: 16 kB / 1.46 GB, free: 4.848 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/1.071, allocations: 203.7 kB / 1.46 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.395e-05/1.071, allocations: 27.91 kB / 1.46 GB, free: 4.621 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.072, allocations: 139.5 kB / 1.46 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/1.073, allocations: 40 kB / 1.46 GB, free: 4.445 MB / 1.186 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.0002484/1.073, allocations: 235.9 kB / 1.46 GB, free: 4.207 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/1.073, allocations: 151 kB / 1.46 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.075, allocations: 0.6453 MB / 1.461 GB, free: 3.402 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.075, allocations: 0 / 1.461 GB, free: 3.402 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.075, allocations: 0 / 1.461 GB, free: 3.402 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.075, allocations: 8.078 kB / 1.461 GB, free: 3.395 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/1.078, allocations: 1.892 MB / 1.463 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.078, allocations: 7.938 kB / 1.463 GB, free: 1.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/1.079, allocations: 88.08 kB / 1.463 GB, free: 1.301 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.079, allocations: 8 kB / 1.463 GB, free: 1.293 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/1.079, allocations: 15.98 kB / 1.463 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.079, allocations: 7.938 kB / 1.463 GB, free: 1.27 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.079, allocations: 4 kB / 1.463 GB, free: 1.266 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.081, allocations: 0.8089 MB / 1.464 GB, free: 400 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/1.081, allocations: 307.9 kB / 1.464 GB, free: 72 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/1.081, allocations: 15.98 kB / 1.464 GB, free: 56 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/1.082, allocations: 71.86 kB / 1.464 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/1.082, allocations: 35.84 kB / 1.464 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/1.082, allocations: 23.98 kB / 1.464 GB, free: 15.93 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001531/1.084, allocations: 1.005 MB / 1.465 GB, free: 14.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 1.465 GB, free: 14.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001692/1.086, allocations: 0.5814 MB / 1.466 GB, free: 14.34 MB / 1.201 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.002467/1.088, allocations: 1.528 MB / 1.467 GB, free: 12.75 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002845/1.091, allocations: 1.117 MB / 1.468 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.091, allocations: 4.938 kB / 1.468 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006801/1.092, allocations: 256.6 kB / 1.468 GB, free: 11.39 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/1.095, allocations: 0.7493 MB / 1.469 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.112, allocations: 9.835 MB / 1.479 GB, free: 272 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/1.113, allocations: 1.186 MB / 1.48 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001397/1.115, allocations: 383.8 kB / 1.48 GB, free: 14.67 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/1.115, allocations: 499.3 kB / 1.481 GB, free: 14.18 MB / 1.217 GB Notification: Performance of SimCode: time 6.91e-07/1.115, allocations: 0 / 1.481 GB, free: 14.18 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/1.188, allocations: 35.6 MB / 1.516 GB, free: 10.96 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.58, allocations: 7.938 kB / 1.516 GB, free: 10.96 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches