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.002012/0.002012, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.002359/0.002359, allocations: 169 kB / 23.27 MB, free: 1.219 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.032/1.032, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.407/2.407, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.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 2.705e-06/2.705e-06, allocations: 0 / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.278e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0097/0.009723, allocations: 7.488 MB / 0.8971 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01476, allocations: 3.083 MB / 0.9001 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.01508, allocations: 23.81 kB / 0.9001 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006651/0.01574, allocations: 198.6 kB / 0.9003 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007912/0.01654, allocations: 0.497 MB / 0.9008 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.01774, allocations: 0.736 MB / 0.9015 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.01858, allocations: 0.9505 MB / 0.9024 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.01888, allocations: 281.1 kB / 0.9027 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.01966, allocations: 0.5265 MB / 0.9032 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.01993, allocations: 267.2 kB / 0.9035 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.01997, allocations: 28 kB / 0.9035 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.02054, allocations: 0.5223 MB / 0.904 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.02094, allocations: 147.4 kB / 0.9041 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.02105, allocations: 151.6 kB / 0.9043 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.02182, allocations: 0.6851 MB / 0.9049 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.02183, allocations: 0 / 0.9049 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.02183, allocations: 0 / 0.9049 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.02183, allocations: 4 kB / 0.905 GB, free: 10.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009211/0.02276, allocations: 0.9068 MB / 0.9058 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.0228, allocations: 8.625 kB / 0.9058 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.02296, allocations: 88.5 kB / 0.9059 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.02354, allocations: 389 kB / 0.9063 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.02356, allocations: 20.88 kB / 0.9063 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.02359, allocations: 28.38 kB / 0.9063 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.02386, allocations: 240.1 kB / 0.9066 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.02387, allocations: 0 / 0.9066 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.02389, allocations: 12 kB / 0.9066 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.0239, allocations: 4 kB / 0.9066 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.024, allocations: 83.31 kB / 0.9067 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.02509, allocations: 1.291 MB / 0.9079 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.02523, allocations: 99.27 kB / 0.908 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.02527, allocations: 39.61 kB / 0.9081 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/0.02591, allocations: 0.5893 MB / 0.9086 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.02593, allocations: 37.39 kB / 0.9087 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.02593, allocations: 4 kB / 0.9087 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002339/0.02616, allocations: 147.6 kB / 0.9088 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.02619, allocations: 55.34 kB / 0.9089 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.02653, allocations: 0.51 MB / 0.9094 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.02655, allocations: 29.7 kB / 0.9094 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.02672, allocations: 335 kB / 0.9097 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.02675, allocations: 47.59 kB / 0.9098 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.728e-05/0.02683, allocations: 83.55 kB / 0.9098 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.02699, allocations: 0.5351 MB / 0.9104 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.02704, allocations: 36.78 kB / 0.9104 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.02724, allocations: 428.4 kB / 0.9108 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.02739, allocations: 179.8 kB / 0.911 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02739, allocations: 0 / 0.911 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002307/0.02762, allocations: 229 kB / 0.9112 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02764, allocations: 6.344 kB / 0.9112 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02765, allocations: 4 kB / 0.9112 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.02766, allocations: 4 kB / 0.9112 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.02779, allocations: 59.91 kB / 0.9113 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.02779, allocations: 4 kB / 0.9113 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.02791, allocations: 39.77 kB / 0.9113 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.02793, allocations: 16.23 kB / 0.9113 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.175e-05/0.02802, allocations: 163.4 kB / 0.9115 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002273/0.02825, allocations: 423 kB / 0.9119 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000123/0.02837, allocations: 165.9 kB / 0.912 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.02838, allocations: 0 / 0.912 GB, free: 2.219 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002158/0.02859, allocations: 235.6 kB / 0.9123 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.0286, allocations: 4 kB / 0.9123 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.02861, allocations: 4 kB / 0.9123 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-06/0.02861, allocations: 4 kB / 0.9123 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.02872, allocations: 67.84 kB / 0.9123 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.02872, allocations: 7.938 kB / 0.9124 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.02883, allocations: 36.12 kB / 0.9124 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.02885, allocations: 11.94 kB / 0.9124 GB, free: 1.852 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 9.767e-05/0.02895, allocations: 291.9 kB / 0.9127 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.02899, allocations: 51.67 kB / 0.9127 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.02921, allocations: 165.4 kB / 0.9129 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.02922, allocations: 0 / 0.9129 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.02922, allocations: 0 / 0.9129 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02922, allocations: 3.938 kB / 0.9129 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.02967, allocations: 0.5548 MB / 0.9134 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02968, allocations: 0 / 0.9134 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.02974, allocations: 27.98 kB / 0.9135 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.02974, allocations: 4 kB / 0.9135 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.02975, allocations: 4 kB / 0.9135 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.02975, allocations: 7.938 kB / 0.9135 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02975, allocations: 0 / 0.9135 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.02994, allocations: 334.2 kB / 0.9138 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.03001, allocations: 55.69 kB / 0.9138 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.03004, allocations: 12.12 kB / 0.9139 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.03011, allocations: 15.92 kB / 0.9139 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.03015, allocations: 7.984 kB / 0.9139 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.03016, allocations: 4 kB / 0.9139 GB, free: 232 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001789/0.03033, allocations: 322.7 kB / 0.9142 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.03033, allocations: 3.938 kB / 0.9142 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004027/0.03074, allocations: 223.5 kB / 0.9144 GB, free: 15.69 MB / 0.8855 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.0008376/0.03157, allocations: 415.7 kB / 0.9148 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.03182, allocations: 215.2 kB / 0.915 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03182, allocations: 0 / 0.915 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.03188, allocations: 51.59 kB / 0.9151 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.03247, allocations: 224.2 kB / 0.9153 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.03354, allocations: 0.7414 MB / 0.916 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.03363, allocations: 125.5 kB / 0.9161 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.03377, allocations: 72.02 kB / 0.9162 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.03406, allocations: 234 kB / 0.9164 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.03406, allocations: 0 / 0.9164 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.01248/0.04654, allocations: 10.3 MB / 0.9265 GB, free: 3.617 MB / 0.8855 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.691924059763551]