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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.389/2.389, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5511, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2277/0.7789, allocations: 237.6 MB / 1.182 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.7991, allocations: 15.79 MB / 1.197 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.8013, allocations: 63.62 kB / 1.197 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.804, allocations: 1.033 MB / 1.198 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007179/0.8112, allocations: 2.982 MB / 1.201 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.8154, allocations: 1.664 MB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004088/0.8195, allocations: 3.441 MB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.8213, allocations: 1.287 MB / 1.207 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005427/0.8267, allocations: 2.479 MB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.8289, allocations: 1.088 MB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.8292, allocations: 116 kB / 1.211 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005608/0.8349, allocations: 3.098 MB / 1.214 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007091/0.8356, allocations: 474.4 kB / 1.214 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.8376, allocations: 0.8123 MB / 1.215 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.8435, allocations: 2.929 MB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.8436, allocations: 4 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8436, allocations: 0 / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.353e-05/0.8436, allocations: 0 / 1.218 GB, free: 14.04 MB / 0.9825 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.00389/0.8475, allocations: 2.001 MB / 1.22 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8476, allocations: 12.03 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.8478, allocations: 152.2 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.8506, allocations: 0.5014 MB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.8527, allocations: 1.11 MB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009694/0.8537, allocations: 245.7 kB / 1.222 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.8539, allocations: 100 kB / 1.222 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8562, allocations: 1.362 MB / 1.223 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.8562, allocations: 3.938 kB / 1.223 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.8563, allocations: 44 kB / 1.223 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.8564, allocations: 45.98 kB / 1.224 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.8589, allocations: 1.085 MB / 1.225 GB, free: 7.148 MB / 0.9825 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.007282/0.8662, allocations: 7.43 MB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.868, allocations: 0.5707 MB / 1.232 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/0.8687, allocations: 265.2 kB / 1.233 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.8691, allocations: 295.5 kB / 1.233 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.8692, allocations: 38.84 kB / 1.233 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.8692, allocations: 7.875 kB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002532/0.8717, allocations: 0.8595 MB / 1.234 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.8718, allocations: 59.41 kB / 1.234 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.8736, allocations: 1.399 MB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.8736, allocations: 33.7 kB / 1.235 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.8741, allocations: 0.7026 MB / 1.236 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.8742, allocations: 118.4 kB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.8745, allocations: 162.4 kB / 1.236 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8746, allocations: 337.9 kB / 1.237 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009047/0.8755, allocations: 324.6 kB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.8767, allocations: 0.7047 MB / 1.238 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.8785, allocations: 0.9455 MB / 1.238 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.8786, allocations: 4 kB / 1.238 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002584/0.8812, allocations: 1.078 MB / 1.24 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8812, allocations: 12 kB / 1.24 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.8812, allocations: 8 kB / 1.24 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.8812, allocations: 20.03 kB / 1.24 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.8822, allocations: 215.6 kB / 1.24 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.8822, allocations: 23.92 kB / 1.24 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.8836, allocations: 190.6 kB / 1.24 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.8837, allocations: 44 kB / 1.24 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.885, allocations: 0.5877 MB / 1.241 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001141/0.8861, allocations: 0.6969 MB / 1.241 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00181/0.8879, allocations: 0.9489 MB / 1.242 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-05/0.888, allocations: 7.938 kB / 1.242 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002484/0.8904, allocations: 1.081 MB / 1.243 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8905, allocations: 12 kB / 1.243 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8905, allocations: 11.94 kB / 1.243 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8905, allocations: 16 kB / 1.243 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.8914, allocations: 208.2 kB / 1.243 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8914, allocations: 23.92 kB / 1.244 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.8927, allocations: 143.5 kB / 1.244 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.8928, allocations: 43.98 kB / 1.244 GB, free: 2.266 MB / 0.9981 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.0002007/0.893, allocations: 240.4 kB / 1.244 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.8932, allocations: 138.3 kB / 1.244 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.8949, allocations: 0.6676 MB / 1.245 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.895, allocations: 4 kB / 1.245 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.895, allocations: 4 kB / 1.245 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.895, allocations: 0 / 1.245 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3945/1.289, allocations: 1.925 MB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.289, allocations: 4.125 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/1.29, allocations: 96.64 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.29, allocations: 5.875 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/1.29, allocations: 13.39 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.29, allocations: 9.5 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.29, allocations: 11.41 kB / 1.247 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.292, allocations: 0.8129 MB / 1.248 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/1.292, allocations: 297.4 kB / 1.248 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.293, allocations: 14.11 kB / 1.248 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.294, allocations: 76.78 kB / 1.248 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/1.294, allocations: 32.84 kB / 1.248 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/1.294, allocations: 23.8 kB / 1.248 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00147/1.295, allocations: 1.011 MB / 1.249 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.295, allocations: 0 / 1.249 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001763/1.297, allocations: 0.5801 MB / 1.25 GB, free: 284.8 MB / 0.9981 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.002253/1.299, allocations: 1.525 MB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003118/1.302, allocations: 1.173 MB / 1.252 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.302, allocations: 2 kB / 1.252 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/1.303, allocations: 265.4 kB / 1.252 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/1.306, allocations: 0.7522 MB / 1.253 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.322, allocations: 10.68 MB / 1.264 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.323, allocations: 1.187 MB / 1.265 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001673/1.324, allocations: 387.3 kB / 1.265 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/1.325, allocations: 0.489 MB / 1.266 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.325, allocations: 0 / 1.266 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/1.38, allocations: 35.41 MB / 1.3 GB, free: 250.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/9.434, allocations: 16.03 kB / 1.3 GB, free: 250.4 MB / 0.9981 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