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.007863/0.007863, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001742/0.001742, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 64.11 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9595/0.9611, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02339/0.9845, allocations: 17.45 MB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008567/0.9931, allocations: 4.916 MB / 1.23 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000919/0.9941, allocations: 15.88 kB / 1.23 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.9953, allocations: 258.4 kB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.9975, allocations: 0.6101 MB / 1.23 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.9999, allocations: 0.7238 MB / 1.231 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001714/1.002, allocations: 0.9848 MB / 1.232 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007556/1.002, allocations: 334.8 kB / 1.232 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.004, allocations: 422.2 kB / 1.233 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006832/1.004, allocations: 306.7 kB / 1.233 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/1.004, allocations: 32 kB / 1.233 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/1.006, allocations: 0.7292 MB / 1.234 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/1.006, allocations: 135.5 kB / 1.234 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/1.007, allocations: 238.7 kB / 1.234 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/1.009, allocations: 0.8801 MB / 1.235 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.009, allocations: 3.938 kB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.165e-06/1.009, allocations: 0 / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.8e-05/1.009, allocations: 0 / 1.235 GB, free: 1.684 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.001799/1.011, allocations: 0.8874 MB / 1.236 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.011, allocations: 8.031 kB / 1.236 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/1.011, allocations: 60.28 kB / 1.236 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/1.012, allocations: 453.7 kB / 1.236 GB, free: 196 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/1.012, allocations: 28.5 kB / 1.236 GB, free: 168 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/1.012, allocations: 28 kB / 1.236 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/1.013, allocations: 282.2 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.013, allocations: 0 / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/1.013, allocations: 16 kB / 1.237 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.013, allocations: 8 kB / 1.237 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/1.013, allocations: 186.1 kB / 1.237 GB, free: 15.64 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.002238/1.015, allocations: 1.476 MB / 1.238 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/1.016, allocations: 166.8 kB / 1.239 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/1.016, allocations: 84.72 kB / 1.239 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.018, allocations: 1.272 MB / 1.24 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.018, allocations: 46.38 kB / 1.24 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/1.018, allocations: 0 / 1.24 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006996/1.018, allocations: 254.5 kB / 1.24 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.019, allocations: 51.41 kB / 1.24 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/1.019, allocations: 0.5809 MB / 1.241 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/1.019, allocations: 33.7 kB / 1.241 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/1.02, allocations: 264.1 kB / 1.241 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.02, allocations: 55.2 kB / 1.241 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.02, allocations: 69.97 kB / 1.241 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.02, allocations: 354.8 kB / 1.242 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.02, allocations: 85.92 kB / 1.242 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/1.021, allocations: 210.7 kB / 1.242 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/1.021, allocations: 235 kB / 1.242 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.021, allocations: 0 / 1.242 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007405/1.022, allocations: 319.1 kB / 1.242 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.022, allocations: 11.94 kB / 1.242 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.022, allocations: 0 / 1.242 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.022, allocations: 4 kB / 1.242 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/1.022, allocations: 63.91 kB / 1.242 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.022, allocations: 11.92 kB / 1.242 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/1.023, allocations: 43.88 kB / 1.242 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/1.023, allocations: 20 kB / 1.242 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003212/1.023, allocations: 212.6 kB / 1.243 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002852/1.023, allocations: 214.9 kB / 1.243 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003939/1.024, allocations: 225.2 kB / 1.243 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-06/1.024, allocations: 0 / 1.243 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006248/1.024, allocations: 311.2 kB / 1.243 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.024, allocations: 10.19 kB / 1.243 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.024, allocations: 3.938 kB / 1.243 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/1.024, allocations: 4 kB / 1.243 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.025, allocations: 71.83 kB / 1.243 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.025, allocations: 4 kB / 1.243 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/1.025, allocations: 32.02 kB / 1.244 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/1.025, allocations: 27.98 kB / 1.244 GB, free: 8.324 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.0002078/1.025, allocations: 200.1 kB / 1.244 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.025, allocations: 55.22 kB / 1.244 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006873/1.026, allocations: 257.7 kB / 1.244 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.026, allocations: 0 / 1.244 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.026, allocations: 8 kB / 1.244 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.026, allocations: 0 / 1.244 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.028, allocations: 0.7277 MB / 1.245 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.028, allocations: 0 / 1.245 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/1.028, allocations: 40.09 kB / 1.245 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.028, allocations: 4 kB / 1.245 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.028, allocations: 4 kB / 1.245 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.028, allocations: 0 / 1.245 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.028, allocations: 3.938 kB / 1.245 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/1.028, allocations: 354.4 kB / 1.245 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/1.029, allocations: 148.4 kB / 1.245 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/1.029, allocations: 4 kB / 1.245 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.029, allocations: 11.98 kB / 1.245 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/1.029, allocations: 20.05 kB / 1.245 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.029, allocations: 8 kB / 1.245 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006135/1.03, allocations: 430.7 kB / 1.246 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/1.03, allocations: 0 / 1.246 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009241/1.031, allocations: 227.7 kB / 1.246 GB, free: 5.734 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.001394/1.032, allocations: 493.7 kB / 1.246 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007769/1.033, allocations: 332.2 kB / 1.247 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.033, allocations: 0 / 1.247 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/1.033, allocations: 87.89 kB / 1.247 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.034, allocations: 250.5 kB / 1.247 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/1.036, allocations: 0.7975 MB / 1.248 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/1.037, allocations: 0.8506 MB / 1.249 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000392/1.037, allocations: 104.2 kB / 1.249 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/1.037, allocations: 35.44 kB / 1.249 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/1.037, allocations: 0 / 1.249 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of Templates: time 0.02029/1.057, allocations: 10.25 MB / 1.259 GB, free: 8.777 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