Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009743/0.0009743, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001013/0.001013, allocations: 169 kB / 24.06 MB, free: 452 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.9249/0.9249, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.112/2.112, allocations: 429.5 MB / 0.6743 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0.6562 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.155e-05, allocations: 9.266 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.132/0.132, allocations: 152.6 MB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.1444, allocations: 11.05 MB / 1.039 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.1462, allocations: 99.19 kB / 1.039 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.1472, allocations: 428.6 kB / 1.04 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.1503, allocations: 1.682 MB / 1.041 GB, free: 15.62 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.1534, allocations: 1.861 MB / 1.043 GB, free: 13.76 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.1569, allocations: 3.537 MB / 1.047 GB, free: 10.21 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.1584, allocations: 1.041 MB / 1.048 GB, free: 9.129 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.1617, allocations: 2.208 MB / 1.05 GB, free: 7.004 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1629, allocations: 0.8683 MB / 1.051 GB, free: 6.133 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.163, allocations: 120 kB / 1.051 GB, free: 6.016 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.1651, allocations: 1.142 MB / 1.052 GB, free: 4.871 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.1656, allocations: 0.5216 MB / 1.052 GB, free: 4.348 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.1663, allocations: 0.5533 MB / 1.053 GB, free: 3.793 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.1691, allocations: 1.802 MB / 1.055 GB, free: 1.984 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1691, allocations: 4 kB / 1.055 GB, free: 1.98 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1691, allocations: 0 / 1.055 GB, free: 1.98 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.1691, allocations: 0 / 1.055 GB, free: 1.98 MB / 1.01 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.4447/0.6138, allocations: 2.105 MB / 1.057 GB, free: 77.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6138, allocations: 10.97 kB / 1.057 GB, free: 77.98 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.6152, allocations: 0.5649 MB / 1.057 GB, free: 77.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.6165, allocations: 1.206 MB / 1.058 GB, free: 77.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.6165, allocations: 88.36 kB / 1.059 GB, free: 77.57 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.6166, allocations: 105.9 kB / 1.059 GB, free: 77.57 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.6175, allocations: 1.122 MB / 1.06 GB, free: 76.95 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6176, allocations: 5.969 kB / 1.06 GB, free: 76.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.6176, allocations: 42.91 kB / 1.06 GB, free: 76.95 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.6177, allocations: 42.91 kB / 1.06 GB, free: 76.95 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.6181, allocations: 379.1 kB / 1.06 GB, free: 76.93 MB / 1.01 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.003651/0.6218, allocations: 7.421 MB / 1.067 GB, free: 71.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.6221, allocations: 195.8 kB / 1.068 GB, free: 71.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.6222, allocations: 74.52 kB / 1.068 GB, free: 71.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/0.6223, allocations: 30.52 kB / 1.068 GB, free: 71.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.6223, allocations: 37.2 kB / 1.068 GB, free: 71.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.6223, allocations: 0 / 1.068 GB, free: 71.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.0005919/0.6229, allocations: 391.6 kB / 1.068 GB, free: 71.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.6229, allocations: 61.69 kB / 1.068 GB, free: 71.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.6236, allocations: 1.132 MB / 1.069 GB, free: 71.13 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.6236, allocations: 39.11 kB / 1.069 GB, free: 71.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.624, allocations: 0.8415 MB / 1.07 GB, free: 70.77 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.624, allocations: 125.3 kB / 1.07 GB, free: 70.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.6242, allocations: 219.5 kB / 1.07 GB, free: 70.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.6243, allocations: 0.5187 MB / 1.071 GB, free: 70.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.6244, allocations: 94.02 kB / 1.071 GB, free: 70.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.6247, allocations: 1.069 MB / 1.072 GB, free: 68.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.6252, allocations: 0.9842 MB / 1.073 GB, free: 67.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.6252, allocations: 6 kB / 1.073 GB, free: 67.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0007698/0.626, allocations: 0.7793 MB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.626, allocations: 12 kB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.626, allocations: 18.5 kB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.626, allocations: 24.94 kB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.6265, allocations: 240.8 kB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.6265, allocations: 36.17 kB / 1.074 GB, free: 67.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.627, allocations: 154 kB / 1.074 GB, free: 67.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.6271, allocations: 49.05 kB / 1.074 GB, free: 67.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002431/0.6273, allocations: 227.9 kB / 1.075 GB, free: 67.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003066/0.6276, allocations: 1.066 MB / 1.076 GB, free: 66.45 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005119/0.6281, allocations: 0.9775 MB / 1.077 GB, free: 65.51 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.811e-06/0.6281, allocations: 9.328 kB / 1.077 GB, free: 65.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.000777/0.6289, allocations: 0.7751 MB / 1.077 GB, free: 65.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6289, allocations: 12.22 kB / 1.077 GB, free: 65.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6289, allocations: 20.7 kB / 1.077 GB, free: 65.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.629, allocations: 25.41 kB / 1.077 GB, free: 65.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.6294, allocations: 237.7 kB / 1.078 GB, free: 65.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.6294, allocations: 34.41 kB / 1.078 GB, free: 65.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.6299, allocations: 125.2 kB / 1.078 GB, free: 65.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.63, allocations: 51.3 kB / 1.078 GB, free: 65.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (114): * Single equations (assignments): 114 * 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.000167/0.6301, allocations: 341.6 kB / 1.078 GB, free: 65.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6302, allocations: 147.8 kB / 1.078 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.6307, allocations: 334.8 kB / 1.079 GB, free: 64.97 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6307, allocations: 3.906 kB / 1.079 GB, free: 64.97 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6307, allocations: 3.938 kB / 1.079 GB, free: 64.97 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6307, allocations: 4.422 kB / 1.079 GB, free: 64.97 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6318, allocations: 1.124 MB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6318, allocations: 2.969 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.632, allocations: 75.92 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.632, allocations: 10.14 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.632, allocations: 19.23 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.632, allocations: 5.531 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6321, allocations: 10.42 kB / 1.08 GB, free: 64.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.6324, allocations: 0.5784 MB / 1.08 GB, free: 64.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.6326, allocations: 196.6 kB / 1.081 GB, free: 63.97 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.6327, allocations: 12.14 kB / 1.081 GB, free: 63.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.6331, allocations: 36.88 kB / 1.081 GB, free: 63.97 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6331, allocations: 38.08 kB / 1.081 GB, free: 63.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.6332, allocations: 20.05 kB / 1.081 GB, free: 63.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003711/0.6335, allocations: 0.6204 MB / 1.081 GB, free: 63.82 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6335, allocations: 0 / 1.081 GB, free: 63.82 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001227/0.6348, allocations: 0.6817 MB / 1.082 GB, free: 63.71 MB / 1.01 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.0002462/0.635, allocations: 181.8 kB / 1.082 GB, free: 63.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.6358, allocations: 0.6885 MB / 1.083 GB, free: 63.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6358, allocations: 0 / 1.083 GB, free: 63.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.6359, allocations: 100.3 kB / 1.083 GB, free: 63.56 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6371, allocations: 0.5033 MB / 1.083 GB, free: 63.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.6398, allocations: 2.167 MB / 1.085 GB, free: 62.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.64, allocations: 267.2 kB / 1.086 GB, free: 62.31 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006427/0.6406, allocations: 238.2 kB / 1.086 GB, free: 62.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/0.6413, allocations: 458 kB / 1.086 GB, free: 62.23 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.6413, allocations: 0.7188 kB / 1.086 GB, free: 62.23 MB / 1.01 GB Notification: Performance of Templates: time 0.0298/0.6711, allocations: 19.42 MB / 1.105 GB, free: 60.41 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.255806038156152]