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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006141/0.006141, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001379, allocations: 194 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 68.12 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9501, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02562/0.9757, allocations: 17.45 MB / 1.225 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.9839, allocations: 4.916 MB / 1.23 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.9847, allocations: 15.88 kB / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.9859, allocations: 254.4 kB / 1.23 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.9879, allocations: 0.6062 MB / 1.23 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.9901, allocations: 0.7431 MB / 1.231 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.9917, allocations: 0.9663 MB / 1.232 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006394/0.9923, allocations: 336.8 kB / 1.232 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008904/0.9932, allocations: 430.2 kB / 1.233 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.9938, allocations: 310.6 kB / 1.233 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.956e-05/0.9939, allocations: 28 kB / 1.233 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.9955, allocations: 0.7253 MB / 1.234 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.9957, allocations: 135.6 kB / 1.234 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.9962, allocations: 238.6 kB / 1.234 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.9982, allocations: 0.8781 MB / 1.235 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.9982, allocations: 3.938 kB / 1.235 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9982, allocations: 0 / 1.235 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.891e-05/0.9982, allocations: 0 / 1.235 GB, free: 1.523 MB / 0.9512 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.001717/1, allocations: 0.8835 MB / 1.236 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1, allocations: 8.031 kB / 1.236 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/1, allocations: 60.28 kB / 1.236 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/1.001, allocations: 465.6 kB / 1.236 GB, free: 24 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/1.001, allocations: 24.5 kB / 1.236 GB, free: 0 / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/1.001, allocations: 28.05 kB / 1.236 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/1.002, allocations: 286.2 kB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.002, allocations: 7.938 kB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/1.002, allocations: 4 kB / 1.237 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.002, allocations: 8 kB / 1.237 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/1.002, allocations: 190.1 kB / 1.237 GB, free: 15.47 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/1.005, allocations: 1.468 MB / 1.238 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/1.005, allocations: 158.8 kB / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/1.005, allocations: 92.7 kB / 1.239 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/1.007, allocations: 1.276 MB / 1.24 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/1.007, allocations: 42.42 kB / 1.24 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/1.007, allocations: 4 kB / 1.24 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006696/1.007, allocations: 252 kB / 1.24 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.007, allocations: 55.34 kB / 1.24 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/1.008, allocations: 0.5848 MB / 1.241 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/1.008, allocations: 29.7 kB / 1.241 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.008, allocations: 268.1 kB / 1.241 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.008, allocations: 55.19 kB / 1.241 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.009, allocations: 73.97 kB / 1.241 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.009, allocations: 358.8 kB / 1.242 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.009, allocations: 77.94 kB / 1.242 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/1.009, allocations: 202.8 kB / 1.242 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/1.01, allocations: 238.7 kB / 1.242 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.01, allocations: 0 / 1.242 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006584/1.01, allocations: 319 kB / 1.242 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.01, allocations: 11.94 kB / 1.242 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.01, allocations: 0 / 1.242 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/1.01, allocations: 8 kB / 1.242 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.011, allocations: 64.16 kB / 1.242 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.011, allocations: 11.98 kB / 1.242 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/1.011, allocations: 39.67 kB / 1.242 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/1.011, allocations: 16 kB / 1.242 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003182/1.011, allocations: 212.6 kB / 1.243 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002904/1.012, allocations: 218.9 kB / 1.243 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003944/1.012, allocations: 221.2 kB / 1.243 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.012, allocations: 4 kB / 1.243 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006095/1.013, allocations: 311.1 kB / 1.243 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.013, allocations: 11.98 kB / 1.243 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.013, allocations: 7.938 kB / 1.243 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/1.013, allocations: 4 kB / 1.243 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.013, allocations: 60.16 kB / 1.243 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.013, allocations: 8 kB / 1.244 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.013, allocations: 35.81 kB / 1.244 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/1.013, allocations: 16 kB / 1.244 GB, free: 8.168 MB / 0.9669 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.0001438/1.014, allocations: 200.1 kB / 1.244 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/1.014, allocations: 55.22 kB / 1.244 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/1.014, allocations: 257.7 kB / 1.244 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/1.014, allocations: 4 kB / 1.244 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.014, allocations: 0 / 1.244 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.014, allocations: 0 / 1.244 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.015, allocations: 0.7316 MB / 1.245 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.015, allocations: 7.984 kB / 1.245 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/1.016, allocations: 32.11 kB / 1.245 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.016, allocations: 4 kB / 1.245 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/1.016, allocations: 7.938 kB / 1.245 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.016, allocations: 0 / 1.245 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.016, allocations: 4 kB / 1.245 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/1.016, allocations: 360 kB / 1.245 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/1.016, allocations: 144.5 kB / 1.245 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.016, allocations: 4 kB / 1.245 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/1.017, allocations: 15.98 kB / 1.245 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/1.017, allocations: 15.92 kB / 1.245 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/1.017, allocations: 11.98 kB / 1.245 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004795/1.017, allocations: 418.8 kB / 1.246 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/1.017, allocations: 0 / 1.246 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008174/1.018, allocations: 227.7 kB / 1.246 GB, free: 5.578 MB / 0.9669 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.001363/1.019, allocations: 0.4968 MB / 1.246 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007476/1.02, allocations: 319.5 kB / 1.247 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.02, allocations: 4 kB / 1.247 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/1.02, allocations: 91.14 kB / 1.247 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/1.022, allocations: 262 kB / 1.247 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/1.023, allocations: 0.7937 MB / 1.248 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.023, allocations: 0.8428 MB / 1.249 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003484/1.024, allocations: 100.2 kB / 1.249 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/1.024, allocations: 39.42 kB / 1.249 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/1.024, allocations: 0 / 1.249 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.01874/1.043, allocations: 10.38 MB / 1.259 GB, free: 8.484 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches