Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.000938/0.000938, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009467/0.0009467, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.76e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1359/0.1359, allocations: 144.5 MB / 0.9797 GB, free: 13.14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.1362, allocations: 179.3 kB / 0.9799 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1364, allocations: 7.938 kB / 0.9799 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1366, allocations: 59.52 kB / 0.98 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.1368, allocations: 63.53 kB / 0.98 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.1369, allocations: 31.97 kB / 0.98 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1372, allocations: 215 kB / 0.9802 GB, free: 12.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1373, allocations: 59.52 kB / 0.9803 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.1377, allocations: 119.7 kB / 0.9804 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1378, allocations: 55.81 kB / 0.9805 GB, free: 12.37 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1378, allocations: 12 kB / 0.9805 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.1378, allocations: 8 kB / 0.9805 GB, free: 12.35 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1379, allocations: 31.86 kB / 0.9805 GB, free: 12.32 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.1379, allocations: 43.91 kB / 0.9806 GB, free: 12.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1381, allocations: 115.5 kB / 0.9807 GB, free: 12.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1381, allocations: 0 / 0.9807 GB, free: 12.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1381, allocations: 0 / 0.9807 GB, free: 12.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.1381, allocations: 0 / 0.9807 GB, free: 12.16 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0003822/0.1384, allocations: 340.2 kB / 0.981 GB, free: 11.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1385, allocations: 8.625 kB / 0.981 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1385, allocations: 16.92 kB / 0.981 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1387, allocations: 197.9 kB / 0.9812 GB, free: 11.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1387, allocations: 8.609 kB / 0.9812 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1388, allocations: 12.38 kB / 0.9812 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1389, allocations: 200.2 kB / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.139, allocations: 0 / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.139, allocations: 4 kB / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.139, allocations: 4 kB / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.139, allocations: 42.67 kB / 0.9815 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.1396, allocations: 0.9661 MB / 0.9824 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.1396, allocations: 181.1 kB / 0.9826 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.1396, allocations: 80.14 kB / 0.9827 GB, free: 9.973 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1397, allocations: 75.28 kB / 0.9827 GB, free: 9.898 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1397, allocations: 113.9 kB / 0.9828 GB, free: 9.777 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1397, allocations: 0 / 0.9828 GB, free: 9.777 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.573e-05/0.1398, allocations: 29.7 kB / 0.9829 GB, free: 9.742 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.1398, allocations: 178.1 kB / 0.983 GB, free: 9.543 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1399, allocations: 179.5 kB / 0.9832 GB, free: 9.355 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.14, allocations: 25.7 kB / 0.9832 GB, free: 9.324 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.14, allocations: 143.7 kB / 0.9834 GB, free: 9.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.14, allocations: 0 / 0.9834 GB, free: 9.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1401, allocations: 21.72 kB / 0.9834 GB, free: 9.152 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.1401, allocations: 322.8 kB / 0.9837 GB, free: 8.828 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.1402, allocations: 10.77 kB / 0.9837 GB, free: 8.816 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.1402, allocations: 162.5 kB / 0.9839 GB, free: 8.605 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.1403, allocations: 53.88 kB / 0.9839 GB, free: 8.535 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1403, allocations: 4 kB / 0.9839 GB, free: 8.531 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.1404, allocations: 67.2 kB / 0.984 GB, free: 8.457 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1404, allocations: 4 kB / 0.984 GB, free: 8.453 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1404, allocations: 0 / 0.984 GB, free: 8.453 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1404, allocations: 4 kB / 0.984 GB, free: 8.449 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.1405, allocations: 8 kB / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.1405, allocations: 0 / 0.984 GB, free: 8.441 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1405, allocations: 15.83 kB / 0.984 GB, free: 8.426 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.1405, allocations: 4.156 kB / 0.984 GB, free: 8.422 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 7.911e-05/0.1406, allocations: 199.9 kB / 0.9842 GB, free: 8.215 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1406, allocations: 109 kB / 0.9843 GB, free: 8.102 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.1407, allocations: 121.4 kB / 0.9844 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.1407, allocations: 176.3 kB / 0.9846 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/0.1408, allocations: 176.3 kB / 0.9848 GB, free: 7.617 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-05/0.1408, allocations: 184.2 kB / 0.9849 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.141, allocations: 345.3 kB / 0.9853 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/0.141, allocations: 104.9 kB / 0.9854 GB, free: 6.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.141, allocations: 101 kB / 0.9855 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.527e-05/0.1411, allocations: 188.2 kB / 0.9856 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.1411, allocations: 188.2 kB / 0.9858 GB, free: 6.469 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.095e-05/0.1412, allocations: 180.2 kB / 0.986 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.371e-05/0.1412, allocations: 184.2 kB / 0.9862 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.1413, allocations: 315.7 kB / 0.9865 GB, free: 5.766 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1414, allocations: 113 kB / 0.9866 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.1414, allocations: 184.2 kB / 0.9868 GB, free: 5.461 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.1415, allocations: 108.9 kB / 0.9869 GB, free: 5.348 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1415, allocations: 176.6 kB / 0.987 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1416, allocations: 104.9 kB / 0.9871 GB, free: 5.059 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.1416, allocations: 42.31 kB / 0.9872 GB, free: 5.016 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1416, allocations: 4 kB / 0.9872 GB, free: 5.012 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002129/0.1418, allocations: 31.89 kB / 0.9872 GB, free: 4.98 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002398/0.1421, allocations: 147.7 kB / 0.9873 GB, free: 4.824 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.1421, allocations: 24.81 kB / 0.9874 GB, free: 4.797 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1421, allocations: 7.938 kB / 0.9874 GB, free: 4.789 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1421, allocations: 0 / 0.9874 GB, free: 4.789 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1424, allocations: 474.4 kB / 0.9878 GB, free: 4.324 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.1429, allocations: 323.8 kB / 0.9881 GB, free: 3.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.143, allocations: 67.33 kB / 0.9882 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.143, allocations: 8.484 kB / 0.9882 GB, free: 3.887 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.1431, allocations: 67.36 kB / 0.9883 GB, free: 3.82 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/0.1431, allocations: 3.938 kB / 0.9883 GB, free: 3.816 MB / 0.948 GB Notification: Performance of Templates: time 0.00289/0.146, allocations: 0.8824 MB / 0.9891 GB, free: 2.953 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.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.491255201864988]