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.0009553/0.0009553, 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.0009588/0.0009588, allocations: 165 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.9162/0.9162, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.703e-06/1.703e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.799e-05, allocations: 10.19 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.145/0.1451, allocations: 154.4 MB / 0.9108 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1587, allocations: 10.19 MB / 0.9208 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.1607, allocations: 87.25 kB / 0.9209 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1617, allocations: 436.6 kB / 0.9213 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.1651, allocations: 1.639 MB / 0.9229 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.1678, allocations: 1.459 MB / 0.9243 GB, free: 14 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.004325/0.1721, allocations: 3.4 MB / 0.9276 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.1736, allocations: 1.056 MB / 0.9287 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.1773, allocations: 2.115 MB / 0.9307 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.1783, allocations: 0.8098 MB / 0.9315 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1784, allocations: 116 kB / 0.9316 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1801, allocations: 1.126 MB / 0.9327 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.1805, allocations: 0.5061 MB / 0.9332 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.181, allocations: 0.5299 MB / 0.9337 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.1838, allocations: 1.744 MB / 0.9354 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1838, allocations: 0 / 0.9354 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1838, allocations: 0 / 0.9354 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.1838, allocations: 0 / 0.9354 GB, free: 2.633 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.002251/0.1861, allocations: 1.859 MB / 0.9373 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1861, allocations: 8.031 kB / 0.9373 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.1874, allocations: 0.5107 MB / 0.9378 GB, free: 224 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1885, allocations: 0.8781 MB / 0.9386 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.1886, allocations: 78 kB / 0.9387 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.724e-05/0.1887, allocations: 92 kB / 0.9388 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.1897, allocations: 1.039 MB / 0.9398 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1897, allocations: 7.938 kB / 0.9398 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.1898, allocations: 44 kB / 0.9398 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.1898, allocations: 41.98 kB / 0.9399 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.1902, allocations: 363 kB / 0.9402 GB, free: 13.48 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.004293/0.1945, allocations: 5.166 MB / 0.9453 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.1949, allocations: 226.8 kB / 0.9455 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.195, allocations: 63.67 kB / 0.9455 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1951, allocations: 27.98 kB / 0.9456 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1951, allocations: 38.55 kB / 0.9456 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=32): time 2.274e-06/0.1951, allocations: 0 / 0.9456 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of matching and sorting (n=32): time 0.0005715/0.1957, allocations: 282.4 kB / 0.9459 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.1957, allocations: 55.41 kB / 0.9459 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.1964, allocations: 0.938 MB / 0.9469 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.1964, allocations: 33.7 kB / 0.9469 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.1967, allocations: 0.5832 MB / 0.9475 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.1968, allocations: 119 kB / 0.9476 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1969, allocations: 158.4 kB / 0.9477 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.197, allocations: 341.8 kB / 0.948 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1972, allocations: 79.64 kB / 0.9481 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.1978, allocations: 0.6635 MB / 0.9488 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.1982, allocations: 0.5376 MB / 0.9493 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1982, allocations: 0 / 0.9493 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0005318/0.1987, allocations: 0.4895 MB / 0.9498 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1987, allocations: 12 kB / 0.9498 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1987, allocations: 12 kB / 0.9498 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1988, allocations: 19.98 kB / 0.9498 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1991, allocations: 176.3 kB / 0.95 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.1991, allocations: 27.91 kB / 0.95 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.1997, allocations: 127.2 kB / 0.9501 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.1997, allocations: 39.98 kB / 0.9502 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002569/0.2, allocations: 171.7 kB / 0.9503 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000325/0.2003, allocations: 0.6554 MB / 0.951 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003911/0.2007, allocations: 0.5405 MB / 0.9515 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.299e-06/0.2007, allocations: 4 kB / 0.9515 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0005448/0.2012, allocations: 499.5 kB / 0.952 GB, free: 380 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2012, allocations: 8 kB / 0.952 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2013, allocations: 16.09 kB / 0.952 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2013, allocations: 16 kB / 0.952 GB, free: 340 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2016, allocations: 179.7 kB / 0.9522 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2016, allocations: 27.92 kB / 0.9522 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.2021, allocations: 103.6 kB / 0.9523 GB, free: 28 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.2021, allocations: 36.03 kB / 0.9523 GB, free: 15.99 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.0001683/0.2023, allocations: 239.8 kB / 0.9526 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.2024, allocations: 75.86 kB / 0.9526 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.2028, allocations: 288.6 kB / 0.9529 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2028, allocations: 4 kB / 0.9529 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2028, allocations: 0 / 0.9529 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2028, allocations: 0 / 0.9529 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.204, allocations: 0.9891 MB / 0.9539 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.204, allocations: 4.469 kB / 0.9539 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.2041, allocations: 71.89 kB / 0.954 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2042, allocations: 8 kB / 0.954 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2042, allocations: 15.92 kB / 0.954 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2042, allocations: 4 kB / 0.954 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2042, allocations: 7.938 kB / 0.954 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.2047, allocations: 492.5 kB / 0.9545 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.205, allocations: 143.1 kB / 0.9546 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.205, allocations: 8 kB / 0.9546 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.2054, allocations: 43.95 kB / 0.9547 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.2054, allocations: 31.84 kB / 0.9547 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.2055, allocations: 23.97 kB / 0.9547 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003377/0.2058, allocations: 455.7 kB / 0.9551 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 0.9551 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001231/0.207, allocations: 0.6586 MB / 0.9558 GB, free: 12.28 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.000286/0.2073, allocations: 156 kB / 0.9559 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2079, allocations: 0.5033 MB / 0.9564 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.352e-05/0.208, allocations: 24.56 kB / 0.9565 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2081, allocations: 84.83 kB / 0.9565 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2092, allocations: 498.4 kB / 0.957 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2119, allocations: 2.034 MB / 0.959 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2121, allocations: 255.3 kB / 0.9592 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005975/0.2127, allocations: 216.8 kB / 0.9594 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/0.2133, allocations: 373 kB / 0.9598 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.2133, allocations: 0 / 0.9598 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of Templates: time 0.02371/0.237, allocations: 18.29 MB / 0.9777 GB, free: 6.152 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 -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.4267014898359776]