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.001104/0.001104, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009945/0.0009945, allocations: 173 kB / 23.02 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 0.9517/0.9517, allocations: 177.2 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.114/2.114, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.121e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.006697/0.006718, allocations: 7.558 MB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.01038, allocations: 3.137 MB / 0.8886 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.01073, allocations: 19.81 kB / 0.8886 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.01136, allocations: 190.7 kB / 0.8888 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.01233, allocations: 0.4931 MB / 0.8893 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.01367, allocations: 0.7438 MB / 0.89 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.01463, allocations: 0.9535 MB / 0.891 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003476/0.01811, allocations: 289 kB / 0.8912 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.01938, allocations: 0.5084 MB / 0.8917 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.01977, allocations: 259.2 kB / 0.892 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.645e-05/0.01983, allocations: 28 kB / 0.892 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008711/0.0207, allocations: 0.5262 MB / 0.8925 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.02083, allocations: 143.5 kB / 0.8927 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.021, allocations: 159.6 kB / 0.8928 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.02217, allocations: 0.6889 MB / 0.8935 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.02217, allocations: 4 kB / 0.8935 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.784e-06/0.02218, allocations: 0 / 0.8935 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.02219, allocations: 0 / 0.8935 GB, free: 6.594 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.0009688/0.02315, allocations: 0.8991 MB / 0.8944 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.02319, allocations: 8.031 kB / 0.8944 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.02337, allocations: 84.5 kB / 0.8945 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.02381, allocations: 401 kB / 0.8948 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.02383, allocations: 20.88 kB / 0.8949 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.02386, allocations: 28.38 kB / 0.8949 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.02418, allocations: 252.1 kB / 0.8951 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.02419, allocations: 0 / 0.8951 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.02421, allocations: 12 kB / 0.8951 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.02422, allocations: 15.98 kB / 0.8952 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.02436, allocations: 94.86 kB / 0.8952 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.02563, allocations: 1.368 MB / 0.8966 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.02583, allocations: 117.7 kB / 0.8967 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.02589, allocations: 35.67 kB / 0.8967 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.02664, allocations: 0.5778 MB / 0.8973 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.02666, allocations: 41.39 kB / 0.8973 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.02667, allocations: 0 / 0.8973 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002968/0.02696, allocations: 164.1 kB / 0.8975 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.02699, allocations: 55.34 kB / 0.8975 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003733/0.02736, allocations: 0.5181 MB / 0.898 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.02738, allocations: 29.7 kB / 0.8981 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.02756, allocations: 323.1 kB / 0.8984 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.02759, allocations: 51.59 kB / 0.8984 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.02766, allocations: 79.58 kB / 0.8985 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.02784, allocations: 0.5352 MB / 0.899 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.0279, allocations: 40.8 kB / 0.8991 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.02809, allocations: 431.3 kB / 0.8995 GB, free: 72 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.02834, allocations: 176.5 kB / 0.8997 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.02834, allocations: 0 / 0.8997 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002786/0.02862, allocations: 254.6 kB / 0.8999 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02863, allocations: 4 kB / 0.8999 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.02864, allocations: 4 kB / 0.8999 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.02866, allocations: 4 kB / 0.8999 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.02882, allocations: 59.91 kB / 0.9 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.02883, allocations: 7.938 kB / 0.9 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.02897, allocations: 51.66 kB / 0.9 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.02899, allocations: 16.25 kB / 0.9 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001246/0.02912, allocations: 167.4 kB / 0.9002 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002295/0.02935, allocations: 423.6 kB / 0.9006 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001811/0.02953, allocations: 186.4 kB / 0.9008 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.02953, allocations: 7.984 kB / 0.9008 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0002627/0.02979, allocations: 242.6 kB / 0.901 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.0298, allocations: 8 kB / 0.901 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.02981, allocations: 0 / 0.901 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.02981, allocations: 4 kB / 0.901 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.02993, allocations: 59.91 kB / 0.9011 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.02993, allocations: 4 kB / 0.9011 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.03005, allocations: 40.06 kB / 0.9011 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.03007, allocations: 12 kB / 0.9011 GB, free: 14.15 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.000242/0.03031, allocations: 284 kB / 0.9014 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.03036, allocations: 55.67 kB / 0.9015 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.03061, allocations: 181.2 kB / 0.9016 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.03062, allocations: 0 / 0.9016 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.03062, allocations: 3.938 kB / 0.9016 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03063, allocations: 7.984 kB / 0.9016 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.03118, allocations: 0.6208 MB / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.03119, allocations: 0 / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.03126, allocations: 27.98 kB / 0.9023 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.03126, allocations: 7.938 kB / 0.9023 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.03127, allocations: 4 kB / 0.9023 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.03128, allocations: 7.938 kB / 0.9023 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03128, allocations: 0 / 0.9023 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.0315, allocations: 340.2 kB / 0.9026 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.03158, allocations: 75.69 kB / 0.9027 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.03161, allocations: 8 kB / 0.9027 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.03169, allocations: 8 kB / 0.9027 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.03174, allocations: 19.91 kB / 0.9027 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.03175, allocations: 4 kB / 0.9027 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002212/0.03197, allocations: 338.8 kB / 0.9031 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03197, allocations: 0 / 0.9031 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000507/0.03247, allocations: 219.5 kB / 0.9033 GB, free: 11.86 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.0009314/0.03341, allocations: 428.2 kB / 0.9037 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.03374, allocations: 224.6 kB / 0.9039 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.03374, allocations: 0 / 0.9039 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.03382, allocations: 59.53 kB / 0.9039 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.03444, allocations: 227.8 kB / 0.9042 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.03592, allocations: 0.7338 MB / 0.9049 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.036, allocations: 117.5 kB / 0.905 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002425/0.03624, allocations: 96.41 kB / 0.9051 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.03631, allocations: 40.44 kB / 0.9051 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of SimCode: time 9.02e-07/0.03631, allocations: 0 / 0.9051 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of Templates: time 0.01279/0.0491, allocations: 10.33 MB / 0.9152 GB, free: 15.87 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.646368520334363]