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.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006641/0.006641, allocations: 101.3 kB / 15.73 MB, free: 5.996 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.001308/0.001308, allocations: 189.7 kB / 16.67 MB, free: 5.926 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9883/0.9895, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01591/1.005, allocations: 15.54 MB / 1.223 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006509/1.012, allocations: 4.333 MB / 1.227 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/1.013, allocations: 15.88 kB / 1.227 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009304/1.014, allocations: 270.3 kB / 1.227 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/1.015, allocations: 0.5985 MB / 1.228 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/1.018, allocations: 0.7149 MB / 1.229 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001284/1.019, allocations: 1.025 MB / 1.23 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/1.019, allocations: 335.6 kB / 1.23 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/1.02, allocations: 430.3 kB / 1.23 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/1.02, allocations: 322.6 kB / 1.231 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/1.02, allocations: 28 kB / 1.231 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/1.021, allocations: 0.6317 MB / 1.231 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/1.022, allocations: 99.55 kB / 1.231 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/1.022, allocations: 234.7 kB / 1.232 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009836/1.023, allocations: 0.7496 MB / 1.232 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.023, allocations: 0 / 1.232 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.42e-07/1.023, allocations: 3.938 kB / 1.232 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.835e-06/1.023, allocations: 4 kB / 1.232 GB, free: 4.191 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001195/1.024, allocations: 0.8291 MB / 1.233 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.024, allocations: 8.031 kB / 1.233 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/1.024, allocations: 56.28 kB / 1.233 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/1.025, allocations: 437.3 kB / 1.234 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/1.025, allocations: 20.44 kB / 1.234 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/1.025, allocations: 28 kB / 1.234 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/1.025, allocations: 219.2 kB / 1.234 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.025, allocations: 0 / 1.234 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/1.025, allocations: 8 kB / 1.234 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.025, allocations: 4 kB / 1.234 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/1.026, allocations: 165.6 kB / 1.234 GB, free: 2.344 MB / 0.9512 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.001503/1.027, allocations: 0.9456 MB / 1.235 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/1.028, allocations: 130.6 kB / 1.235 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/1.028, allocations: 72.81 kB / 1.235 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/1.028, allocations: 336.4 kB / 1.236 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.028, allocations: 30.56 kB / 1.236 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/1.028, allocations: 3.938 kB / 1.236 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006092/1.029, allocations: 245.1 kB / 1.236 GB, free: 424 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/1.029, allocations: 51.41 kB / 1.236 GB, free: 360 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/1.029, allocations: 485.9 kB / 1.236 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/1.029, allocations: 29.7 kB / 1.236 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.029, allocations: 232.6 kB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/1.029, allocations: 39.36 kB / 1.237 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/1.03, allocations: 61.61 kB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.03, allocations: 362.7 kB / 1.237 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/1.03, allocations: 72.81 kB / 1.237 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/1.03, allocations: 149.8 kB / 1.237 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/1.03, allocations: 168.5 kB / 1.237 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.03, allocations: 0 / 1.237 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004962/1.031, allocations: 253 kB / 1.238 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.031, allocations: 8 kB / 1.238 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.031, allocations: 0 / 1.238 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.031, allocations: 4 kB / 1.238 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.031, allocations: 51.91 kB / 1.238 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.031, allocations: 3.938 kB / 1.238 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/1.032, allocations: 43.66 kB / 1.238 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.032, allocations: 12 kB / 1.238 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002968/1.032, allocations: 191.9 kB / 1.238 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000242/1.032, allocations: 161.3 kB / 1.238 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003232/1.033, allocations: 176.1 kB / 1.238 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/1.033, allocations: 0 / 1.238 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005201/1.033, allocations: 241.1 kB / 1.239 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/1.033, allocations: 5.875 kB / 1.239 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/1.033, allocations: 4 kB / 1.239 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/1.033, allocations: 0 / 1.239 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.033, allocations: 51.91 kB / 1.239 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.033, allocations: 12.05 kB / 1.239 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/1.034, allocations: 27.88 kB / 1.239 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/1.034, allocations: 8 kB / 1.239 GB, free: 13.42 MB / 0.9669 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 0.0001029/1.034, allocations: 204.1 kB / 1.239 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/1.034, allocations: 43.44 kB / 1.239 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/1.034, allocations: 249.2 kB / 1.239 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.034, allocations: 0 / 1.239 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.034, allocations: 0 / 1.239 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.034, allocations: 4 kB / 1.239 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/1.035, allocations: 0.7115 MB / 1.24 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.035, allocations: 0 / 1.24 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/1.036, allocations: 35.91 kB / 1.24 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.036, allocations: 3.938 kB / 1.24 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/1.036, allocations: 4 kB / 1.24 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.036, allocations: 7.875 kB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.036, allocations: 4 kB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/1.036, allocations: 338.5 kB / 1.24 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/1.036, allocations: 140.5 kB / 1.24 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.036, allocations: 0 / 1.24 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.036, allocations: 23.92 kB / 1.24 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/1.037, allocations: 19.91 kB / 1.24 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.037, allocations: 8 kB / 1.24 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000347/1.037, allocations: 338.9 kB / 1.241 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 1.241 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006275/1.038, allocations: 195.7 kB / 1.241 GB, free: 11 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 (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.001042/1.039, allocations: 474.3 kB / 1.241 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000649/1.039, allocations: 270.1 kB / 1.242 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.039, allocations: 0 / 1.242 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.039, allocations: 83.89 kB / 1.242 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.041, allocations: 202.3 kB / 1.242 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.042, allocations: 0.7128 MB / 1.243 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/1.042, allocations: 0.827 MB / 1.243 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002643/1.042, allocations: 87.52 kB / 1.243 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/1.042, allocations: 47.42 kB / 1.243 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/1.042, allocations: 0 / 1.243 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of Templates: time 0.01479/1.057, allocations: 8.635 MB / 1.252 GB, free: 15.88 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches