Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.001033/0.001033, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001024/0.001024, allocations: 169 kB / 23.02 MB, free: 1.551 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.9576/0.9576, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.184/2.184, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.621e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01109/0.01112, allocations: 7.438 MB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00604/0.01716, allocations: 3.23 MB / 0.8886 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006453/0.01781, allocations: 27.75 kB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009364/0.01875, allocations: 190.7 kB / 0.8888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.02011, allocations: 485.1 kB / 0.8893 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.02195, allocations: 0.7206 MB / 0.89 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.02334, allocations: 1.009 MB / 0.8909 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.02406, allocations: 268.6 kB / 0.8912 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.02479, allocations: 478.7 kB / 0.8917 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.02523, allocations: 271.2 kB / 0.8919 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.02529, allocations: 28 kB / 0.8919 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.0262, allocations: 486.9 kB / 0.8924 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.02632, allocations: 103.5 kB / 0.8925 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.02651, allocations: 139.6 kB / 0.8926 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.02752, allocations: 0.615 MB / 0.8932 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02753, allocations: 0 / 0.8932 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.392e-06/0.02753, allocations: 0 / 0.8932 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.02754, allocations: 0 / 0.8932 GB, free: 6.871 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001224/0.02876, allocations: 0.8603 MB / 0.8941 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.02881, allocations: 16.02 kB / 0.8941 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.02895, allocations: 72.56 kB / 0.8942 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.02959, allocations: 369.2 kB / 0.8945 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.02962, allocations: 20.88 kB / 0.8945 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.02967, allocations: 35.88 kB / 0.8946 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.03004, allocations: 160.8 kB / 0.8947 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.03005, allocations: 0 / 0.8947 GB, free: 5.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.03007, allocations: 4 kB / 0.8947 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.03009, allocations: 11.98 kB / 0.8947 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.03028, allocations: 70.95 kB / 0.8948 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.03168, allocations: 0.7331 MB / 0.8955 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.03189, allocations: 87.02 kB / 0.8956 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.03197, allocations: 31.67 kB / 0.8956 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.03211, allocations: 23.92 kB / 0.8957 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.03213, allocations: 37.33 kB / 0.8957 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.444e-06/0.03214, allocations: 4 kB / 0.8957 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003979/0.03253, allocations: 145.3 kB / 0.8958 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.03257, allocations: 59.34 kB / 0.8959 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.03305, allocations: 446.6 kB / 0.8963 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.03307, allocations: 33.7 kB / 0.8964 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.03327, allocations: 283.3 kB / 0.8966 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.03331, allocations: 47.64 kB / 0.8967 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.03341, allocations: 63.31 kB / 0.8967 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.03359, allocations: 0.5274 MB / 0.8972 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.03369, allocations: 39.52 kB / 0.8973 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.03396, allocations: 378.8 kB / 0.8976 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.03416, allocations: 101.3 kB / 0.8977 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.03416, allocations: 0 / 0.8977 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000366/0.03453, allocations: 177.2 kB / 0.8979 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.03455, allocations: 6.188 kB / 0.8979 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.03456, allocations: 7.984 kB / 0.8979 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.03458, allocations: 4 kB / 0.8979 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.0348, allocations: 43.92 kB / 0.898 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.03482, allocations: 7.984 kB / 0.898 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.0353, allocations: 27.83 kB / 0.898 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.03533, allocations: 8 kB / 0.898 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001663/0.0355, allocations: 158.8 kB / 0.8982 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002652/0.03577, allocations: 390.8 kB / 0.8985 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001823/0.03595, allocations: 122.3 kB / 0.8987 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.03595, allocations: 0 / 0.8987 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0003493/0.0363, allocations: 173.4 kB / 0.8988 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.03631, allocations: 7.938 kB / 0.8988 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.03632, allocations: 4 kB / 0.8988 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.8e-06/0.03632, allocations: 0 / 0.8988 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.03652, allocations: 51.91 kB / 0.8989 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.03652, allocations: 0 / 0.8989 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.03673, allocations: 31.81 kB / 0.8989 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.03675, allocations: 12.06 kB / 0.8989 GB, free: 0.6016 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001229/0.03688, allocations: 280 kB / 0.8992 GB, free: 328 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.03695, allocations: 47.66 kB / 0.8992 GB, free: 280 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.03734, allocations: 176.9 kB / 0.8994 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.03735, allocations: 0 / 0.8994 GB, free: 92 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.03736, allocations: 3.938 kB / 0.8994 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.03736, allocations: 4.188 kB / 0.8994 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008429/0.0382, allocations: 0.5936 MB / 0.9 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.03821, allocations: 3.984 kB / 0.9 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.03833, allocations: 27.98 kB / 0.9 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.03833, allocations: 3.984 kB / 0.9 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.03835, allocations: 4 kB / 0.9 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.03835, allocations: 0 / 0.9 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.03836, allocations: 7.938 kB / 0.9 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.0387, allocations: 330.3 kB / 0.9003 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.03881, allocations: 51.73 kB / 0.9004 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.03886, allocations: 12.11 kB / 0.9004 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.03902, allocations: 8 kB / 0.9004 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.03908, allocations: 23.91 kB / 0.9004 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.03909, allocations: 7.938 kB / 0.9004 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003091/0.0394, allocations: 295 kB / 0.9007 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0394, allocations: 0 / 0.9007 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006/0.04, allocations: 199.5 kB / 0.9009 GB, free: 14.44 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000998/0.041, allocations: 418.3 kB / 0.9013 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.04129, allocations: 173.5 kB / 0.9015 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04129, allocations: 0 / 0.9015 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.04137, allocations: 63.67 kB / 0.9015 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.04193, allocations: 168.9 kB / 0.9017 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.04314, allocations: 0.6783 MB / 0.9024 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.04322, allocations: 117.2 kB / 0.9025 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.04341, allocations: 83.52 kB / 0.9026 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.04349, allocations: 40.5 kB / 0.9026 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/0.04349, allocations: 0 / 0.9026 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of Templates: time 0.01048/0.05396, allocations: 7.716 MB / 0.9101 GB, free: 5.238 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.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.915667927823961]