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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 64.14 kB / 1.059 GB, free: 1.016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7162/0.9707, allocations: 239.2 MB / 1.449 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.9916, allocations: 15.91 MB / 1.465 GB, free: 1.008 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.9938, allocations: 63.62 kB / 1.465 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.9965, allocations: 1.084 MB / 1.466 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007594/1.004, allocations: 3.097 MB / 1.469 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/1.008, allocations: 1.713 MB / 1.47 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004695/1.013, allocations: 3.442 MB / 1.474 GB, free: 7.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.015, allocations: 1.006 MB / 1.475 GB, free: 6.551 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005867/1.02, allocations: 2.593 MB / 1.477 GB, free: 3.965 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.023, allocations: 1.135 MB / 1.478 GB, free: 2.84 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000307/1.023, allocations: 120 kB / 1.479 GB, free: 2.723 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/1.029, allocations: 3.254 MB / 1.482 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006012/1.029, allocations: 498.1 kB / 1.482 GB, free: 14.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/1.03, allocations: 0.8085 MB / 1.483 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005087/1.035, allocations: 2.986 MB / 1.486 GB, free: 11.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.035, allocations: 0 / 1.486 GB, free: 11.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.345e-06/1.035, allocations: 0 / 1.486 GB, free: 11.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.359e-05/1.036, allocations: 0 / 1.486 GB, free: 11.16 MB / 1.154 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.003517/1.039, allocations: 2.067 MB / 1.488 GB, free: 9.039 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.039, allocations: 8.031 kB / 1.488 GB, free: 9.031 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/1.039, allocations: 156.2 kB / 1.488 GB, free: 8.871 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/1.042, allocations: 0.4946 MB / 1.489 GB, free: 8.375 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/1.044, allocations: 1.181 MB / 1.49 GB, free: 7.141 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/1.044, allocations: 81.98 kB / 1.49 GB, free: 7.059 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/1.044, allocations: 96 kB / 1.49 GB, free: 6.965 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/1.046, allocations: 1.354 MB / 1.491 GB, free: 5.492 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.046, allocations: 11.94 kB / 1.491 GB, free: 5.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/1.046, allocations: 39.98 kB / 1.491 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/1.047, allocations: 53.97 kB / 1.491 GB, free: 5.387 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.049, allocations: 1.05 MB / 1.492 GB, free: 4.34 MB / 1.154 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.007408/1.056, allocations: 7.385 MB / 1.5 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/1.058, allocations: 0.5266 MB / 1.5 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/1.058, allocations: 249.2 kB / 1.5 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/1.059, allocations: 287.5 kB / 1.501 GB, free: 11.37 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.059, allocations: 48.72 kB / 1.501 GB, free: 11.31 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/1.059, allocations: 0 / 1.501 GB, free: 11.31 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.002241/1.061, allocations: 0.8368 MB / 1.501 GB, free: 10.47 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.061, allocations: 59.34 kB / 1.502 GB, free: 10.4 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/1.063, allocations: 1.395 MB / 1.503 GB, free: 8.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/1.063, allocations: 33.7 kB / 1.503 GB, free: 8.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/1.063, allocations: 0.7196 MB / 1.504 GB, free: 8.23 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.063, allocations: 127 kB / 1.504 GB, free: 8.105 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.064, allocations: 170.5 kB / 1.504 GB, free: 7.93 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.064, allocations: 334 kB / 1.504 GB, free: 7.598 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000794/1.065, allocations: 312.6 kB / 1.505 GB, free: 7.289 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.066, allocations: 0.6892 MB / 1.505 GB, free: 6.426 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.067, allocations: 0.9186 MB / 1.506 GB, free: 5.348 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.067, allocations: 8 kB / 1.506 GB, free: 5.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002225/1.07, allocations: 1.058 MB / 1.507 GB, free: 4.273 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.07, allocations: 14.97 kB / 1.507 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.07, allocations: 12 kB / 1.507 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.07, allocations: 16.05 kB / 1.507 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008003/1.07, allocations: 211.7 kB / 1.507 GB, free: 4.027 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.07, allocations: 27.86 kB / 1.507 GB, free: 4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.072, allocations: 183 kB / 1.508 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/1.072, allocations: 43.98 kB / 1.508 GB, free: 3.777 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00113/1.073, allocations: 0.5643 MB / 1.508 GB, free: 3.211 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001053/1.074, allocations: 0.6892 MB / 1.509 GB, free: 2.344 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001662/1.076, allocations: 0.9217 MB / 1.51 GB, free: 1.262 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/1.076, allocations: 4 kB / 1.51 GB, free: 1.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002172/1.078, allocations: 1.051 MB / 1.511 GB, free: 204 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.078, allocations: 11.94 kB / 1.511 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.078, allocations: 12 kB / 1.511 GB, free: 180 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.078, allocations: 18.12 kB / 1.511 GB, free: 164 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/1.079, allocations: 211.8 kB / 1.511 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.079, allocations: 19.94 kB / 1.511 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.08, allocations: 135.5 kB / 1.511 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/1.08, allocations: 43.98 kB / 1.511 GB, free: 15.76 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.000214/1.08, allocations: 235.9 kB / 1.511 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/1.08, allocations: 151 kB / 1.512 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/1.082, allocations: 0.6482 MB / 1.512 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.082, allocations: 0 / 1.512 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.082, allocations: 4 kB / 1.512 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.082, allocations: 0 / 1.512 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/1.085, allocations: 1.89 MB / 1.514 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.085, allocations: 7.984 kB / 1.514 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/1.086, allocations: 100 kB / 1.514 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.086, allocations: 4 kB / 1.514 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/1.086, allocations: 12 kB / 1.514 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/1.086, allocations: 4.875 kB / 1.514 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.086, allocations: 7.938 kB / 1.514 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/1.087, allocations: 0.8205 MB / 1.515 GB, free: 11.69 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/1.088, allocations: 303.9 kB / 1.515 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.088, allocations: 12 kB / 1.515 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/1.089, allocations: 63.92 kB / 1.515 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/1.089, allocations: 39.84 kB / 1.515 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/1.089, allocations: 24.84 kB / 1.515 GB, free: 11.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001358/1.09, allocations: 1.001 MB / 1.516 GB, free: 10.24 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.09, allocations: 0 / 1.516 GB, free: 10.24 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001626/1.092, allocations: 0.5814 MB / 1.517 GB, free: 9.656 MB / 1.186 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.002236/1.094, allocations: 1.515 MB / 1.518 GB, free: 8.078 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.097, allocations: 1.095 MB / 1.519 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.097, allocations: 0 / 1.519 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000625/1.097, allocations: 252.6 kB / 1.52 GB, free: 6.742 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/1.1, allocations: 0.7399 MB / 1.52 GB, free: 6.008 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.116, allocations: 9.839 MB / 1.53 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/1.116, allocations: 1.19 MB / 1.531 GB, free: 10.4 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001199/1.118, allocations: 387.8 kB / 1.532 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/1.118, allocations: 499.3 kB / 1.532 GB, free: 9.531 MB / 1.201 GB Notification: Performance of SimCode: time 8.21e-07/1.118, allocations: 0 / 1.532 GB, free: 9.531 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06738/1.186, allocations: 35.81 MB / 1.567 GB, free: 6.195 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.433/10.62, allocations: 12 kB / 1.567 GB, free: 6.184 MB / 1.232 GB " [Timeout remaining time 289] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable res.m_flow in file Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv. Warning: Get data of variable res.m_flow from file Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.72688262599695]