Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.971/0.971, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.288e-05, allocations: 4.984 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1519/0.1519, allocations: 154.5 MB / 0.9109 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.1658, allocations: 10.19 MB / 0.9209 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.1681, allocations: 87.25 kB / 0.921 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.1694, allocations: 436.6 kB / 0.9214 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.1734, allocations: 1.639 MB / 0.923 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.1763, allocations: 1.436 MB / 0.9244 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.004147/0.1804, allocations: 3.401 MB / 0.9277 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.1828, allocations: 1.155 MB / 0.9288 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.1861, allocations: 2.018 MB / 0.9308 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.1872, allocations: 0.8098 MB / 0.9316 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1874, allocations: 112 kB / 0.9317 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.1892, allocations: 1.161 MB / 0.9328 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.1896, allocations: 0.4944 MB / 0.9333 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.1902, allocations: 0.5377 MB / 0.9338 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.1927, allocations: 1.748 MB / 0.9355 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1927, allocations: 0 / 0.9355 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1927, allocations: 4 kB / 0.9355 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.1927, allocations: 0 / 0.9355 GB, free: 2.559 MB / 0.8855 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.002563/0.1953, allocations: 1.852 MB / 0.9374 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1953, allocations: 8.031 kB / 0.9374 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.1966, allocations: 0.5184 MB / 0.9379 GB, free: 148 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1977, allocations: 0.8742 MB / 0.9387 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.1978, allocations: 77.98 kB / 0.9388 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1979, allocations: 104 kB / 0.9389 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1989, allocations: 1.031 MB / 0.9399 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1989, allocations: 7.938 kB / 0.9399 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.199, allocations: 44 kB / 0.94 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.199, allocations: 49.98 kB / 0.94 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1994, allocations: 363 kB / 0.9403 GB, free: 13.4 MB / 0.9011 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.003929/0.2034, allocations: 5.156 MB / 0.9454 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2037, allocations: 225.5 kB / 0.9456 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.2038, allocations: 63.66 kB / 0.9457 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.579e-05/0.2039, allocations: 31.92 kB / 0.9457 GB, free: 7.719 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2039, allocations: 42.55 kB / 0.9457 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.2039, allocations: 0 / 0.9457 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of matching and sorting (n=32): time 0.0005482/0.2045, allocations: 278.5 kB / 0.946 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2045, allocations: 59.34 kB / 0.946 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.2052, allocations: 0.938 MB / 0.947 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.2052, allocations: 33.7 kB / 0.947 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2055, allocations: 0.5754 MB / 0.9476 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/0.2055, allocations: 127 kB / 0.9477 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2057, allocations: 158.4 kB / 0.9478 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.2058, allocations: 341.8 kB / 0.9482 GB, free: 5.125 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2059, allocations: 79.58 kB / 0.9482 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.2062, allocations: 0.6558 MB / 0.9489 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.2066, allocations: 0.5415 MB / 0.9494 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2066, allocations: 4 kB / 0.9494 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008085/0.2074, allocations: 0.4899 MB / 0.9499 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2075, allocations: 8 kB / 0.9499 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2075, allocations: 16.12 kB / 0.9499 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2075, allocations: 16 kB / 0.9499 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.2079, allocations: 187.7 kB / 0.9501 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2079, allocations: 23.92 kB / 0.9501 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.2084, allocations: 131.2 kB / 0.9503 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.2084, allocations: 35.98 kB / 0.9503 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002667/0.2087, allocations: 163.8 kB / 0.9504 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003723/0.2091, allocations: 0.6555 MB / 0.9511 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000424/0.2095, allocations: 0.5327 MB / 0.9516 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.2095, allocations: 8 kB / 0.9516 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0005519/0.2101, allocations: 0.4915 MB / 0.9521 GB, free: 304 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2101, allocations: 8 kB / 0.9521 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2101, allocations: 12 kB / 0.9521 GB, free: 284 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2101, allocations: 16 kB / 0.9521 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.2105, allocations: 192 kB / 0.9523 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2105, allocations: 23.94 kB / 0.9523 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.211, allocations: 103.5 kB / 0.9524 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.211, allocations: 35.98 kB / 0.9525 GB, free: 15.91 MB / 0.9167 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 (87): * Single equations (assignments): 87 * 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.0001388/0.2111, allocations: 239.9 kB / 0.9527 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.97e-05/0.2112, allocations: 79.91 kB / 0.9528 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.2116, allocations: 284.8 kB / 0.953 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2116, allocations: 4 kB / 0.953 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2116, allocations: 0 / 0.953 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2116, allocations: 11.92 kB / 0.9531 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2127, allocations: 0.9853 MB / 0.954 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2127, allocations: 4 kB / 0.954 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.2129, allocations: 79.88 kB / 0.9541 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2129, allocations: 4 kB / 0.9541 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.213, allocations: 12.36 kB / 0.9541 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.213, allocations: 15.94 kB / 0.9541 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.213, allocations: 4 kB / 0.9541 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.2133, allocations: 480.5 kB / 0.9546 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.2135, allocations: 151 kB / 0.9547 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/0.2136, allocations: 12 kB / 0.9547 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.2139, allocations: 43.95 kB / 0.9548 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.214, allocations: 31.84 kB / 0.9548 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.214, allocations: 15.97 kB / 0.9548 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003311/0.2143, allocations: 459.7 kB / 0.9553 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.2143, allocations: 0 / 0.9553 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0011/0.2154, allocations: 0.6586 MB / 0.9559 GB, free: 12.19 MB / 0.9167 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 (31): * Single equations (assignments): 31 * 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.0002665/0.2157, allocations: 168 kB / 0.9561 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005813/0.2163, allocations: 0.506 MB / 0.9566 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.2163, allocations: 12.5 kB / 0.9566 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.2164, allocations: 93.62 kB / 0.9567 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2175, allocations: 0.4885 MB / 0.9571 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.2203, allocations: 2.03 MB / 0.9591 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.2204, allocations: 251.3 kB / 0.9594 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005892/0.221, allocations: 212.8 kB / 0.9596 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/0.2217, allocations: 373 kB / 0.9599 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/0.2217, allocations: 4 kB / 0.9599 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of Templates: time 0.02389/0.2456, allocations: 18.3 MB / 0.9778 GB, free: 6.043 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.436436953954399]