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.0009701/0.0009701, allocations: 88.22 kB / 19.65 MB, free: 272 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.001001/0.001001, allocations: 177 kB / 23.03 MB, free: 1.535 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.106/2.106, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 1.733e-06/1.733e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.343e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006749/0.006772, allocations: 7.433 MB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.01039, allocations: 3.229 MB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.01064, allocations: 23.81 kB / 0.8886 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.01133, allocations: 198.6 kB / 0.8888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007767/0.01211, allocations: 485.1 kB / 0.8893 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.01319, allocations: 0.7167 MB / 0.89 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.0142, allocations: 1.005 MB / 0.8909 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.01455, allocations: 272.6 kB / 0.8912 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.0154, allocations: 0.5273 MB / 0.8917 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.0157, allocations: 271.1 kB / 0.892 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.01574, allocations: 28 kB / 0.892 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.0163, allocations: 475 kB / 0.8925 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.0164, allocations: 107.5 kB / 0.8926 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.01651, allocations: 135.6 kB / 0.8927 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.0172, allocations: 0.6111 MB / 0.8933 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.0172, allocations: 0 / 0.8933 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01721, allocations: 0 / 0.8933 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.01721, allocations: 0 / 0.8933 GB, free: 6.816 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.0008722/0.01808, allocations: 0.8448 MB / 0.8941 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01812, allocations: 11.97 kB / 0.8941 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01822, allocations: 80.56 kB / 0.8942 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.01864, allocations: 373.2 kB / 0.8946 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.01867, allocations: 20.88 kB / 0.8946 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.0187, allocations: 27.94 kB / 0.8946 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.019, allocations: 160.8 kB / 0.8948 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01902, allocations: 0 / 0.8948 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.01904, allocations: 12 kB / 0.8948 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01905, allocations: 7.938 kB / 0.8948 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01917, allocations: 74.88 kB / 0.8948 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.02017, allocations: 0.7291 MB / 0.8956 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.02038, allocations: 91.06 kB / 0.8956 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.02044, allocations: 31.67 kB / 0.8957 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.02055, allocations: 23.92 kB / 0.8957 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.02059, allocations: 37.39 kB / 0.8957 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.865e-06/0.02059, allocations: 7.984 kB / 0.8957 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002892/0.02088, allocations: 153.4 kB / 0.8959 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.02091, allocations: 51.41 kB / 0.8959 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.02122, allocations: 442.6 kB / 0.8964 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.02124, allocations: 33.7 kB / 0.8964 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.02138, allocations: 279.3 kB / 0.8967 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.02141, allocations: 43.64 kB / 0.8967 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.02147, allocations: 67.3 kB / 0.8968 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.02162, allocations: 0.5235 MB / 0.8973 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.02168, allocations: 35.53 kB / 0.8973 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.02197, allocations: 388.5 kB / 0.8977 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.0221, allocations: 97.23 kB / 0.8978 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.02211, allocations: 4 kB / 0.8978 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002286/0.02233, allocations: 185.1 kB / 0.898 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.02235, allocations: 4 kB / 0.898 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.02235, allocations: 4 kB / 0.898 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.02237, allocations: 0 / 0.898 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.02251, allocations: 47.97 kB / 0.898 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.02252, allocations: 0 / 0.898 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.02263, allocations: 27.78 kB / 0.898 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.02265, allocations: 15.98 kB / 0.898 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001038/0.02275, allocations: 158.9 kB / 0.8982 GB, free: 1.461 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001738/0.02293, allocations: 397.5 kB / 0.8986 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001104/0.02304, allocations: 106.4 kB / 0.8987 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.02304, allocations: 0 / 0.8987 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000208/0.02325, allocations: 189.1 kB / 0.8989 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.02325, allocations: 11.94 kB / 0.8989 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-06/0.02325, allocations: 0 / 0.8989 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.02326, allocations: 64 / 0.8989 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.02335, allocations: 51.92 kB / 0.8989 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.02336, allocations: 0 / 0.8989 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.02347, allocations: 24.12 kB / 0.8989 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.02348, allocations: 8 kB / 0.899 GB, free: 0.5586 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.0001057/0.02359, allocations: 288 kB / 0.8992 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.02364, allocations: 55.58 kB / 0.8993 GB, free: 220 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.02388, allocations: 167.1 kB / 0.8994 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.02389, allocations: 11.98 kB / 0.8995 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.02389, allocations: 0 / 0.8995 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.0239, allocations: 0 / 0.8995 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.02442, allocations: 0.5896 MB / 0.9 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02442, allocations: 4 kB / 0.9 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.02449, allocations: 27.92 kB / 0.9001 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.0245, allocations: 4 kB / 0.9001 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.02451, allocations: 0 / 0.9001 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.02451, allocations: 4 kB / 0.9001 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.02451, allocations: 4.125 kB / 0.9001 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.02472, allocations: 334.3 kB / 0.9004 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.02479, allocations: 63.61 kB / 0.9004 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.02482, allocations: 8 kB / 0.9005 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.02489, allocations: 8 kB / 0.9005 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.02494, allocations: 19.91 kB / 0.9005 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.02495, allocations: 7.938 kB / 0.9005 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003435/0.02529, allocations: 291 kB / 0.9008 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.02529, allocations: 0 / 0.9008 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000388/0.02568, allocations: 191.5 kB / 0.901 GB, free: 14.4 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.0009936/0.02667, allocations: 407.3 kB / 0.9013 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.02697, allocations: 171.2 kB / 0.9015 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.02697, allocations: 0 / 0.9015 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-05/0.02704, allocations: 59.53 kB / 0.9016 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.02758, allocations: 171.6 kB / 0.9017 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.02868, allocations: 0.6859 MB / 0.9024 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.088e-05/0.02875, allocations: 113.2 kB / 0.9025 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.02891, allocations: 83.52 kB / 0.9026 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.02897, allocations: 40.42 kB / 0.9026 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/0.02897, allocations: 3.938 kB / 0.9026 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of Templates: time 0.01066/0.03964, allocations: 8.353 MB / 0.9108 GB, free: 4.562 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.817513818852603]