Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 186.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 443.4 MB / 0.7321 GB, free: 12.42 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.88 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9621/0.9642, allocations: 160.8 MB / 1.218 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02412/0.9883, allocations: 17.77 MB / 1.236 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009983/0.9983, allocations: 4.98 MB / 1.241 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.9996, allocations: 23.81 kB / 1.241 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.001, allocations: 266.3 kB / 1.241 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/1.003, allocations: 0.6453 MB / 1.242 GB, free: 15.54 MB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/1.006, allocations: 0.7555 MB / 1.242 GB, free: 14.79 MB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.001623/1.007, allocations: 0.9869 MB / 1.243 GB, free: 13.8 MB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/1.008, allocations: 285.6 kB / 1.244 GB, free: 13.51 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/1.009, allocations: 430.2 kB / 1.244 GB, free: 13.09 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/1.009, allocations: 326.6 kB / 1.244 GB, free: 12.77 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/1.009, allocations: 28 kB / 1.244 GB, free: 12.74 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/1.011, allocations: 0.7643 MB / 1.245 GB, free: 11.97 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/1.011, allocations: 135.5 kB / 1.245 GB, free: 11.84 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/1.011, allocations: 250.6 kB / 1.245 GB, free: 11.59 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/1.013, allocations: 0.8783 MB / 1.246 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.013, allocations: 4 kB / 1.246 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.443e-06/1.013, allocations: 0 / 1.246 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 1.001e-05/1.013, allocations: 0 / 1.246 GB, free: 10.71 MB / 0.9513 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.001522/1.014, allocations: 0.8922 MB / 1.247 GB, free: 9.77 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.014, allocations: 12.03 kB / 1.247 GB, free: 9.758 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/1.014, allocations: 68.56 kB / 1.247 GB, free: 9.691 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/1.015, allocations: 470 kB / 1.248 GB, free: 9.191 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/1.015, allocations: 24.44 kB / 1.248 GB, free: 9.168 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/1.015, allocations: 32 kB / 1.248 GB, free: 9.137 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/1.016, allocations: 277.3 kB / 1.248 GB, free: 8.848 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.016, allocations: 3.938 kB / 1.248 GB, free: 8.844 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.016, allocations: 15.94 kB / 1.248 GB, free: 8.828 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/1.016, allocations: 4 kB / 1.248 GB, free: 8.824 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/1.016, allocations: 197.8 kB / 1.248 GB, free: 8.629 MB / 0.9513 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.002086/1.018, allocations: 1.472 MB / 1.25 GB, free: 7.047 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/1.019, allocations: 162.6 kB / 1.25 GB, free: 6.879 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/1.019, allocations: 80.8 kB / 1.25 GB, free: 6.797 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.021, allocations: 1.272 MB / 1.251 GB, free: 5.332 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.021, allocations: 34.5 kB / 1.251 GB, free: 5.289 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/1.021, allocations: 4 kB / 1.251 GB, free: 5.285 MB / 0.9513 GB Notification: Performance of matching and sorting (n=15): time 0.0006509/1.021, allocations: 250.3 kB / 1.251 GB, free: 5.035 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/1.021, allocations: 51.41 kB / 1.251 GB, free: 4.973 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007235/1.022, allocations: 0.5965 MB / 1.252 GB, free: 4.367 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.022, allocations: 25.7 kB / 1.252 GB, free: 4.336 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/1.022, allocations: 280.4 kB / 1.252 GB, free: 4.059 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/1.023, allocations: 51.53 kB / 1.252 GB, free: 4.008 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/1.023, allocations: 69.92 kB / 1.252 GB, free: 3.934 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.023, allocations: 358.8 kB / 1.253 GB, free: 3.574 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.023, allocations: 85.94 kB / 1.253 GB, free: 3.488 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/1.023, allocations: 207.3 kB / 1.253 GB, free: 3.238 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/1.024, allocations: 233.2 kB / 1.253 GB, free: 2.977 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.024, allocations: 4 kB / 1.253 GB, free: 2.973 MB / 0.9513 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006108/1.024, allocations: 315.7 kB / 1.254 GB, free: 2.66 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.024, allocations: 12 kB / 1.254 GB, free: 2.648 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.024, allocations: 4 kB / 1.254 GB, free: 2.645 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/1.024, allocations: 4 kB / 1.254 GB, free: 2.641 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/1.025, allocations: 63.89 kB / 1.254 GB, free: 2.578 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.025, allocations: 4 kB / 1.254 GB, free: 2.574 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.025, allocations: 39.77 kB / 1.254 GB, free: 2.535 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/1.025, allocations: 15.98 kB / 1.254 GB, free: 2.52 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003307/1.025, allocations: 220.6 kB / 1.254 GB, free: 2.301 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002924/1.026, allocations: 205.5 kB / 1.254 GB, free: 2.051 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004176/1.026, allocations: 239.6 kB / 1.254 GB, free: 1.785 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/1.026, allocations: 3.938 kB / 1.254 GB, free: 1.781 MB / 0.9513 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005721/1.027, allocations: 309.1 kB / 1.255 GB, free: 1.473 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.027, allocations: 8.062 kB / 1.255 GB, free: 1.465 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.027, allocations: 7.938 kB / 1.255 GB, free: 1.457 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/1.027, allocations: 4 kB / 1.255 GB, free: 1.453 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/1.027, allocations: 63.91 kB / 1.255 GB, free: 1.391 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.027, allocations: 4 kB / 1.255 GB, free: 1.387 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/1.027, allocations: 35.86 kB / 1.255 GB, free: 1.352 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/1.027, allocations: 20.19 kB / 1.255 GB, free: 1.332 MB / 0.9513 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.0001588/1.027, allocations: 204.1 kB / 1.255 GB, free: 1.125 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/1.028, allocations: 59.55 kB / 1.255 GB, free: 1.066 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/1.028, allocations: 253.7 kB / 1.255 GB, free: 0.8086 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.028, allocations: 4 kB / 1.255 GB, free: 0.8047 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.028, allocations: 0 / 1.255 GB, free: 0.8047 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.028, allocations: 3.984 kB / 1.255 GB, free: 0.8008 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/1.029, allocations: 0.7408 MB / 1.256 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.029, allocations: 4 kB / 1.256 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.029, allocations: 31.92 kB / 1.256 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.029, allocations: 0 / 1.256 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/1.029, allocations: 4.125 kB / 1.256 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.029, allocations: 4 kB / 1.256 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.029, allocations: 4 kB / 1.256 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/1.03, allocations: 365 kB / 1.256 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/1.03, allocations: 144.7 kB / 1.257 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/1.03, allocations: 7.984 kB / 1.257 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/1.03, allocations: 11.98 kB / 1.257 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/1.03, allocations: 15.92 kB / 1.257 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.031, allocations: 8 kB / 1.257 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005158/1.031, allocations: 418.8 kB / 1.257 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/1.031, allocations: 4 kB / 1.257 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008105/1.032, allocations: 231.6 kB / 1.257 GB, free: 14.72 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.001737/1.034, allocations: 0.4968 MB / 1.258 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000772/1.034, allocations: 304.2 kB / 1.258 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.034, allocations: 4.25 kB / 1.258 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.035, allocations: 83.88 kB / 1.258 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/1.036, allocations: 255.6 kB / 1.258 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/1.037, allocations: 0.8133 MB / 1.259 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/1.038, allocations: 0.8467 MB / 1.26 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003165/1.038, allocations: 104.2 kB / 1.26 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/1.038, allocations: 39.44 kB / 1.26 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/1.038, allocations: 0 / 1.26 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.01992/1.058, allocations: 10.44 MB / 1.27 GB, free: 1.57 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.752837859094143]