Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.001267/0.001267, allocations: 93.06 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.001603/0.001603, allocations: 165 kB / 23.01 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 1.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.139/2.139, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.11e-05, allocations: 13.2 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.008145/0.008176, allocations: 7.568 MB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.01246, allocations: 3.125 MB / 0.8886 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.01297, allocations: 23.81 kB / 0.8886 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.01373, allocations: 190.6 kB / 0.8888 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.01488, allocations: 0.4971 MB / 0.8893 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.01651, allocations: 0.7321 MB / 0.89 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01759, allocations: 0.9687 MB / 0.891 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.018, allocations: 277.1 kB / 0.8912 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.01856, allocations: 474.7 kB / 0.8917 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.01893, allocations: 267.2 kB / 0.8919 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.01899, allocations: 32 kB / 0.892 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00092/0.01991, allocations: 0.5301 MB / 0.8925 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.02006, allocations: 147.5 kB / 0.8926 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.02021, allocations: 159.5 kB / 0.8928 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.02122, allocations: 0.6929 MB / 0.8935 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.02122, allocations: 4 kB / 0.8935 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.482e-06/0.02122, allocations: 0 / 0.8935 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.02123, allocations: 0 / 0.8935 GB, free: 6.633 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001029/0.02226, allocations: 0.9029 MB / 0.8943 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.0223, allocations: 8.031 kB / 0.8944 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.0225, allocations: 92.48 kB / 0.8944 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.02298, allocations: 381.1 kB / 0.8948 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.02301, allocations: 24.88 kB / 0.8948 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.02304, allocations: 28.38 kB / 0.8949 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.02336, allocations: 256.1 kB / 0.8951 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.02338, allocations: 4 kB / 0.8951 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.0234, allocations: 16 kB / 0.8951 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.02341, allocations: 4 kB / 0.8951 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.02355, allocations: 94.86 kB / 0.8952 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.02485, allocations: 1.372 MB / 0.8966 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.02521, allocations: 103.3 kB / 0.8967 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.02527, allocations: 47.61 kB / 0.8967 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.026, allocations: 0.5817 MB / 0.8973 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.02603, allocations: 53.31 kB / 0.8973 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.02603, allocations: 0 / 0.8973 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002952/0.02632, allocations: 149.3 kB / 0.8975 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.02635, allocations: 59.34 kB / 0.8975 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.02675, allocations: 0.522 MB / 0.898 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.02677, allocations: 29.7 kB / 0.8981 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.02694, allocations: 327.1 kB / 0.8984 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.02697, allocations: 51.59 kB / 0.8984 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.02705, allocations: 75.59 kB / 0.8985 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.0272, allocations: 0.5352 MB / 0.899 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.02727, allocations: 48.72 kB / 0.8991 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.02748, allocations: 419.4 kB / 0.8995 GB, free: 104 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.02766, allocations: 181.4 kB / 0.8996 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02767, allocations: 7.938 kB / 0.8996 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002877/0.02795, allocations: 238.8 kB / 0.8999 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.02797, allocations: 8 kB / 0.8999 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.02798, allocations: 3.938 kB / 0.8999 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.028, allocations: 4 kB / 0.8999 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.02816, allocations: 63.91 kB / 0.8999 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02817, allocations: 7.938 kB / 0.9 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.0283, allocations: 36.02 kB / 0.9 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.02832, allocations: 20 kB / 0.9 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000116/0.02844, allocations: 163.4 kB / 0.9002 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001974/0.02864, allocations: 423.6 kB / 0.9006 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000157/0.0288, allocations: 190 kB / 0.9007 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.0288, allocations: 4 kB / 0.9007 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000268/0.02906, allocations: 239.3 kB / 0.901 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.02907, allocations: 8 kB / 0.901 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.02908, allocations: 4 kB / 0.901 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.02908, allocations: 4 kB / 0.901 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.0292, allocations: 56.09 kB / 0.901 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.0292, allocations: 4.25 kB / 0.9011 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.02933, allocations: 39.81 kB / 0.9011 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.02934, allocations: 19.97 kB / 0.9011 GB, free: 14.19 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001187/0.02946, allocations: 299.8 kB / 0.9014 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.02952, allocations: 55.67 kB / 0.9014 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.0298, allocations: 173.3 kB / 0.9016 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.02981, allocations: 8 kB / 0.9016 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02981, allocations: 3.938 kB / 0.9016 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02982, allocations: 4 kB / 0.9016 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.03042, allocations: 0.6196 MB / 0.9022 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.03043, allocations: 4 kB / 0.9022 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.0305, allocations: 27.92 kB / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.03051, allocations: 7.938 kB / 0.9023 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.03052, allocations: 8 kB / 0.9023 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.03052, allocations: 3.984 kB / 0.9023 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03053, allocations: 0 / 0.9023 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.03082, allocations: 345.1 kB / 0.9026 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.03091, allocations: 71.52 kB / 0.9027 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.03095, allocations: 11.98 kB / 0.9027 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.03103, allocations: 4 kB / 0.9027 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.0311, allocations: 15.97 kB / 0.9027 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.03111, allocations: 8 kB / 0.9027 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002641/0.03138, allocations: 338.8 kB / 0.903 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.03138, allocations: 0 / 0.903 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005847/0.03196, allocations: 223.5 kB / 0.9033 GB, free: 11.88 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 (17): * Single equations (assignments): 15 * 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.001154/0.03311, allocations: 426.8 kB / 0.9037 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.03346, allocations: 221.3 kB / 0.9039 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03346, allocations: 0 / 0.9039 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.03354, allocations: 53.67 kB / 0.9039 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.03421, allocations: 238.2 kB / 0.9042 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.03552, allocations: 0.7407 MB / 0.9049 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.219e-05/0.03561, allocations: 121.5 kB / 0.905 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.03581, allocations: 80.06 kB / 0.9051 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.03588, allocations: 40.5 kB / 0.9051 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of SimCode: time 1.203e-06/0.03588, allocations: 4 kB / 0.9051 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.01264/0.04852, allocations: 9.484 MB / 0.9144 GB, free: 0.7539 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.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.781381937675178]