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.001293/0.001293, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001503/0.001503, allocations: 173 kB / 23.28 MB, free: 1.215 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.9225/0.9225, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.342/2.342, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.613e-06/1.613e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.881e-05, allocations: 9.406 kB / 0.8898 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.006181/0.0062, allocations: 7.344 MB / 0.8969 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.009606, allocations: 3.199 MB / 0.9001 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.009831, allocations: 23.75 kB / 0.9001 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.01041, allocations: 194.6 kB / 0.9003 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006086/0.01102, allocations: 489 kB / 0.9007 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.01193, allocations: 0.7128 MB / 0.9014 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.01267, allocations: 0.9931 MB / 0.9024 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.01294, allocations: 272.5 kB / 0.9027 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.01366, allocations: 0.528 MB / 0.9032 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.01391, allocations: 271.1 kB / 0.9034 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.01395, allocations: 28 kB / 0.9035 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.01445, allocations: 471 kB / 0.9039 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.01454, allocations: 111.5 kB / 0.904 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.01464, allocations: 143.6 kB / 0.9041 GB, free: 11 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.01523, allocations: 0.5994 MB / 0.9047 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01524, allocations: 0 / 0.9047 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01524, allocations: 0 / 0.9047 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.01524, allocations: 4 kB / 0.9047 GB, free: 10.4 MB / 0.8698 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.0007306/0.01597, allocations: 0.8525 MB / 0.9056 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.01601, allocations: 8.031 kB / 0.9056 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.01608, allocations: 76.56 kB / 0.9056 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.01643, allocations: 369.2 kB / 0.906 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.01645, allocations: 16.88 kB / 0.906 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.01648, allocations: 35.88 kB / 0.9061 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.01667, allocations: 144.8 kB / 0.9062 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.01668, allocations: 3.984 kB / 0.9062 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.0167, allocations: 12 kB / 0.9062 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01671, allocations: 11.98 kB / 0.9062 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.01678, allocations: 51.45 kB / 0.9063 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.01754, allocations: 0.6711 MB / 0.9069 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.01768, allocations: 87.02 kB / 0.907 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.01771, allocations: 31.73 kB / 0.907 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.01779, allocations: 23.97 kB / 0.9071 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.01781, allocations: 41.33 kB / 0.9071 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.01781, allocations: 0 / 0.9071 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0001947/0.018, allocations: 136.5 kB / 0.9072 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.01803, allocations: 59.34 kB / 0.9073 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01828, allocations: 434.4 kB / 0.9077 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.0183, allocations: 33.7 kB / 0.9077 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.01843, allocations: 283.3 kB / 0.908 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.01845, allocations: 51.58 kB / 0.908 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.01851, allocations: 63.33 kB / 0.9081 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01864, allocations: 0.5234 MB / 0.9086 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.01868, allocations: 31.53 kB / 0.9086 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01891, allocations: 374.2 kB / 0.909 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.019, allocations: 96.8 kB / 0.9091 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01901, allocations: 0 / 0.9091 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001792/0.01918, allocations: 174.9 kB / 0.9093 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.0192, allocations: 7.938 kB / 0.9093 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01921, allocations: 0 / 0.9093 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01922, allocations: 4 kB / 0.9093 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01934, allocations: 47.91 kB / 0.9093 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01934, allocations: 4 kB / 0.9093 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01944, allocations: 27.81 kB / 0.9094 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01946, allocations: 8 kB / 0.9094 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.486e-05/0.01955, allocations: 146.9 kB / 0.9095 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001516/0.0197, allocations: 403.1 kB / 0.9099 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.431e-05/0.01978, allocations: 98.34 kB / 0.91 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.01978, allocations: 7.922 kB / 0.91 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0001686/0.01995, allocations: 165.3 kB / 0.9101 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/0.01996, allocations: 4 kB / 0.9101 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01996, allocations: 7.938 kB / 0.9102 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-06/0.01996, allocations: 0 / 0.9102 GB, free: 4.387 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.808e-05/0.02005, allocations: 51.91 kB / 0.9102 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.02005, allocations: 4.062 kB / 0.9102 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.02016, allocations: 19.95 kB / 0.9102 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.02017, allocations: 19.92 kB / 0.9102 GB, free: 4.293 MB / 0.8698 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 9.173e-05/0.02026, allocations: 284 kB / 0.9105 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.0203, allocations: 43.7 kB / 0.9106 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.02051, allocations: 158.9 kB / 0.9107 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02052, allocations: 4.188 kB / 0.9107 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02052, allocations: 0 / 0.9107 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.02052, allocations: 11.92 kB / 0.9107 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.02095, allocations: 0.522 MB / 0.9112 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.02095, allocations: 0 / 0.9112 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.02101, allocations: 31.98 kB / 0.9113 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02102, allocations: 0 / 0.9113 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.02102, allocations: 4 kB / 0.9113 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.02102, allocations: 0 / 0.9113 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.02103, allocations: 7.938 kB / 0.9113 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.02122, allocations: 326.4 kB / 0.9116 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.02128, allocations: 59.62 kB / 0.9116 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.0213, allocations: 8 kB / 0.9117 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.02138, allocations: 7.984 kB / 0.9117 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.02141, allocations: 11.98 kB / 0.9117 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.02142, allocations: 7.938 kB / 0.9117 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001358/0.02155, allocations: 279 kB / 0.9119 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02155, allocations: 0 / 0.9119 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005162/0.02207, allocations: 191.5 kB / 0.9121 GB, free: 2.266 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.0007724/0.02284, allocations: 416.4 kB / 0.9125 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.02305, allocations: 160.4 kB / 0.9127 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02305, allocations: 128 / 0.9127 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.02311, allocations: 51.59 kB / 0.9127 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.02359, allocations: 175.5 kB / 0.9129 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.02455, allocations: 0.6703 MB / 0.9135 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.02461, allocations: 109.3 kB / 0.9137 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.02474, allocations: 71.55 kB / 0.9137 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.02498, allocations: 206.1 kB / 0.9139 GB, free: 476 kB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/0.02498, allocations: 0 / 0.9139 GB, free: 476 kB / 0.8698 GB Notification: Performance of Templates: time 0.009668/0.03465, allocations: 8.347 MB / 0.9221 GB, free: 8.32 MB / 0.8855 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.382883032783866]