Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009969/0.0009969, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001016/0.001016, allocations: 171.1 kB / 24.87 MB, free: 9.258 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.9184/0.9184, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.9 MB / 0.6247 GB, free: 8.438 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0.9844 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.709e-06/1.058e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.005868/0.005879, allocations: 7.484 MB / 0.8201 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.008861, allocations: 3.115 MB / 0.8231 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.009048, allocations: 23.81 kB / 0.8232 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.00946, allocations: 191.7 kB / 0.8233 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.01004, allocations: 0.4941 MB / 0.8238 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.01092, allocations: 0.7478 MB / 0.8246 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.01157, allocations: 0.9765 MB / 0.8255 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.01184, allocations: 285.7 kB / 0.8258 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.01245, allocations: 0.514 MB / 0.8263 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.01269, allocations: 268.2 kB / 0.8265 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.01273, allocations: 32 kB / 0.8266 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.01322, allocations: 0.5223 MB / 0.8271 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.01331, allocations: 145 kB / 0.8272 GB, free: 2.691 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.01342, allocations: 163.5 kB / 0.8274 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006118/0.01403, allocations: 0.6812 MB / 0.828 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.01403, allocations: 0 / 0.828 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01404, allocations: 0 / 0.828 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.01404, allocations: 2.656 kB / 0.828 GB, free: 1.848 MB / 0.7761 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.0007211/0.01476, allocations: 0.9187 MB / 0.8289 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.407e-05/0.01478, allocations: 8.031 kB / 0.8289 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.0149, allocations: 76.56 kB / 0.829 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.01525, allocations: 403.4 kB / 0.8294 GB, free: 404 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.01526, allocations: 20.88 kB / 0.8294 GB, free: 380 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.01529, allocations: 32.36 kB / 0.8295 GB, free: 348 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.0155, allocations: 236.1 kB / 0.8297 GB, free: 84 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.01551, allocations: 4 kB / 0.8297 GB, free: 80 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.01553, allocations: 8 kB / 0.8297 GB, free: 72 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.01553, allocations: 11.94 kB / 0.8297 GB, free: 60 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.01563, allocations: 75.42 kB / 0.8298 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.01655, allocations: 1.298 MB / 0.831 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.01667, allocations: 99.27 kB / 0.8311 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.01671, allocations: 39.61 kB / 0.8312 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.01727, allocations: 0.5662 MB / 0.8317 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.01729, allocations: 33.39 kB / 0.8318 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.01729, allocations: 4 kB / 0.8318 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002006/0.01749, allocations: 150.6 kB / 0.8319 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.01751, allocations: 59.34 kB / 0.832 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01782, allocations: 0.5139 MB / 0.8325 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01783, allocations: 25.7 kB / 0.8325 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.01798, allocations: 339 kB / 0.8328 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.018, allocations: 47.58 kB / 0.8329 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.01807, allocations: 71.58 kB / 0.8329 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.0182, allocations: 0.5429 MB / 0.8335 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.99e-05/0.01824, allocations: 36.78 kB / 0.8335 GB, free: 12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.01841, allocations: 419.3 kB / 0.8339 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01854, allocations: 182 kB / 0.8341 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01854, allocations: 0 / 0.8341 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002183/0.01876, allocations: 230.8 kB / 0.8343 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.01877, allocations: 12 kB / 0.8343 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01877, allocations: 0 / 0.8343 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.01878, allocations: 4 kB / 0.8343 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01891, allocations: 63.91 kB / 0.8344 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01891, allocations: 4 kB / 0.8344 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01904, allocations: 35.77 kB / 0.8344 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.01905, allocations: 12 kB / 0.8344 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.056e-05/0.01915, allocations: 159.4 kB / 0.8346 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001571/0.0193, allocations: 424.7 kB / 0.835 GB, free: 10.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001177/0.01942, allocations: 178.6 kB / 0.8351 GB, free: 9.977 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.01942, allocations: 4 kB / 0.8351 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002079/0.01963, allocations: 225.1 kB / 0.8354 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/0.01964, allocations: 9.875 kB / 0.8354 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.01964, allocations: 0 / 0.8354 GB, free: 9.738 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.01964, allocations: 4 kB / 0.8354 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01975, allocations: 59.91 kB / 0.8354 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01975, allocations: 7.938 kB / 0.8354 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01987, allocations: 35.81 kB / 0.8355 GB, free: 9.633 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01988, allocations: 11.94 kB / 0.8355 GB, free: 9.621 MB / 0.7917 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 8.281e-05/0.01997, allocations: 288.2 kB / 0.8358 GB, free: 9.332 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.02001, allocations: 55.67 kB / 0.8358 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.02021, allocations: 163.8 kB / 0.836 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.02021, allocations: 3.984 kB / 0.836 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.02021, allocations: 4 kB / 0.836 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.02022, allocations: 7.938 kB / 0.836 GB, free: 9.098 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.02064, allocations: 0.5471 MB / 0.8365 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02064, allocations: 0 / 0.8365 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.0207, allocations: 28.11 kB / 0.8365 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02071, allocations: 4 kB / 0.8365 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.02071, allocations: 8 kB / 0.8366 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02072, allocations: 3.938 kB / 0.8366 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.02072, allocations: 4.188 kB / 0.8366 GB, free: 8.453 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.0209, allocations: 343 kB / 0.8369 GB, free: 8.082 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.02096, allocations: 59.67 kB / 0.8369 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.02099, allocations: 11.94 kB / 0.837 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.02107, allocations: 7.938 kB / 0.837 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.0211, allocations: 23.97 kB / 0.837 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.02111, allocations: 4 kB / 0.837 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001708/0.02128, allocations: 322.6 kB / 0.8373 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.02128, allocations: 0 / 0.8373 GB, free: 7.664 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000404/0.02168, allocations: 211.5 kB / 0.8375 GB, free: 7.457 MB / 0.7917 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.0007206/0.0224, allocations: 431.9 kB / 0.8379 GB, free: 7.148 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.02263, allocations: 204.3 kB / 0.8381 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.02263, allocations: 0 / 0.8381 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.02268, allocations: 57.95 kB / 0.8382 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.02325, allocations: 225.7 kB / 0.8384 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.02415, allocations: 0.7452 MB / 0.8391 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.02422, allocations: 121.5 kB / 0.8392 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.02437, allocations: 72.48 kB / 0.8393 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.02465, allocations: 234 kB / 0.8395 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.02465, allocations: 0 / 0.8395 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of Templates: time 0.01089/0.03554, allocations: 10.52 MB / 0.8498 GB, free: 11.16 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.398974956013262]