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.001431/0.001431, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001025/0.001025, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.952/0.952, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.603e-06/1.603e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.207e-05, allocations: 8.984 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1495/0.1495, allocations: 155.2 MB / 0.9631 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1641, allocations: 10.1 MB / 0.973 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.1666, allocations: 87.25 kB / 0.973 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1679, allocations: 428.7 kB / 0.9735 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.1717, allocations: 1.632 MB / 0.975 GB, free: 9.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.1746, allocations: 1.449 MB / 0.9765 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.1788, allocations: 3.413 MB / 0.9798 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1803, allocations: 1.038 MB / 0.9808 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.1832, allocations: 1.692 MB / 0.9825 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.185, allocations: 1.007 MB / 0.9834 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.1853, allocations: 116 kB / 0.9836 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.1873, allocations: 1.165 MB / 0.9847 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.1877, allocations: 0.51 MB / 0.9852 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.1883, allocations: 0.5455 MB / 0.9857 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.1906, allocations: 1.791 MB / 0.9875 GB, free: 13.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1906, allocations: 0 / 0.9875 GB, free: 13.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1906, allocations: 0 / 0.9875 GB, free: 13.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.1907, allocations: 0 / 0.9875 GB, free: 13.03 MB / 0.948 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.00249/0.1932, allocations: 2.004 MB / 0.9894 GB, free: 10.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1932, allocations: 8.031 kB / 0.9894 GB, free: 10.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1947, allocations: 0.5879 MB / 0.99 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1962, allocations: 1.175 MB / 0.9912 GB, free: 9.152 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.1963, allocations: 78 kB / 0.9912 GB, free: 9.078 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1964, allocations: 104 kB / 0.9913 GB, free: 8.977 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1977, allocations: 1.177 MB / 0.9925 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1977, allocations: 11.94 kB / 0.9925 GB, free: 7.598 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.1978, allocations: 44 kB / 0.9925 GB, free: 7.555 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.1978, allocations: 42 kB / 0.9926 GB, free: 7.516 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.1985, allocations: 459.2 kB / 0.993 GB, free: 7.062 MB / 0.948 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.004808/0.2034, allocations: 7.296 MB / 1 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.2038, allocations: 224.9 kB / 1 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.204, allocations: 92.14 kB / 1 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.2041, allocations: 28.27 kB / 1 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2041, allocations: 41.67 kB / 1.001 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.2041, allocations: 3.938 kB / 1.001 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.0008396/0.205, allocations: 414.8 kB / 1.001 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.205, allocations: 55.41 kB / 1.001 GB, free: 14.63 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/0.206, allocations: 1.055 MB / 1.002 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.206, allocations: 33.7 kB / 1.002 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.2064, allocations: 0.799 MB / 1.003 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.2065, allocations: 127 kB / 1.003 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.2067, allocations: 172.1 kB / 1.003 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2069, allocations: 0.5043 MB / 1.004 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2071, allocations: 107.6 kB / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.2076, allocations: 0.9105 MB / 1.005 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.2082, allocations: 0.7007 MB / 1.005 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.2082, allocations: 4 kB / 1.005 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008431/0.209, allocations: 0.657 MB / 1.006 GB, free: 9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.209, allocations: 8 kB / 1.006 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.209, allocations: 12 kB / 1.006 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.2091, allocations: 20.06 kB / 1.006 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.2095, allocations: 187.7 kB / 1.006 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.2095, allocations: 19.94 kB / 1.006 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.21, allocations: 123.3 kB / 1.006 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.2101, allocations: 40 kB / 1.006 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003275/0.2104, allocations: 236.8 kB / 1.007 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005121/0.2109, allocations: 0.9066 MB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005593/0.2115, allocations: 0.7023 MB / 1.008 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.2115, allocations: 4 kB / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.0007775/0.2123, allocations: 0.6569 MB / 1.009 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2123, allocations: 14.66 kB / 1.009 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2123, allocations: 15.94 kB / 1.009 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2123, allocations: 16 kB / 1.009 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.2127, allocations: 183.7 kB / 1.009 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.2127, allocations: 24.14 kB / 1.009 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.2132, allocations: 103.6 kB / 1.009 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.2132, allocations: 43.94 kB / 1.009 GB, free: 5.16 MB / 0.9636 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.000195/0.2134, allocations: 327.7 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2136, allocations: 139.2 kB / 1.01 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.2141, allocations: 341.7 kB / 1.01 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2141, allocations: 4 kB / 1.01 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2141, allocations: 0 / 1.01 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2141, allocations: 7.938 kB / 1.01 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.2156, allocations: 1.321 MB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2156, allocations: 7.984 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2158, allocations: 75.89 kB / 1.011 GB, free: 2.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2158, allocations: 4 kB / 1.011 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.2158, allocations: 15.98 kB / 1.011 GB, free: 2.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2158, allocations: 4.281 kB / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2159, allocations: 11.94 kB / 1.011 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.2164, allocations: 0.5952 MB / 1.012 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.2166, allocations: 183 kB / 1.012 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.2167, allocations: 15.98 kB / 1.012 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.217, allocations: 39.97 kB / 1.012 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.2171, allocations: 35.83 kB / 1.012 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.2171, allocations: 23.98 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005404/0.2177, allocations: 0.6175 MB / 1.013 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2177, allocations: 0 / 1.013 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001241/0.2189, allocations: 0.6508 MB / 1.013 GB, free: 0.5586 MB / 0.9636 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.0003152/0.2192, allocations: 178.9 kB / 1.014 GB, free: 384 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008696/0.2201, allocations: 0.5902 MB / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2201, allocations: 0 / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.2203, allocations: 112.7 kB / 1.014 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.2215, allocations: 490 kB / 1.015 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.2246, allocations: 2.062 MB / 1.017 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.2247, allocations: 255.7 kB / 1.017 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007141/0.2254, allocations: 308.7 kB / 1.017 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.2256, allocations: 84.48 kB / 1.017 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of SimCode: time 1.482e-06/0.2256, allocations: 0 / 1.017 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.0215/0.2471, allocations: 17.01 MB / 1.034 GB, free: 11.75 MB / 0.9948 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.803207280114293]