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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 112.1 kB / 17.08 MB, free: 5.82 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.002009/0.002009, allocations: 192.7 kB / 20.03 MB, free: 2.949 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.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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 0.002019/0.00202, allocations: 60.14 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01954/1.052, allocations: 17.45 MB / 1.28 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008581/1.06, allocations: 4.885 MB / 1.284 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/1.061, allocations: 17.62 kB / 1.284 GB, free: 8.117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/1.062, allocations: 259.5 kB / 1.285 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/1.064, allocations: 0.6021 MB / 1.285 GB, free: 7.613 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/1.067, allocations: 0.7314 MB / 1.286 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001601/1.068, allocations: 0.9579 MB / 1.287 GB, free: 6.816 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/1.069, allocations: 327.6 kB / 1.287 GB, free: 6.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/1.07, allocations: 469 kB / 1.288 GB, free: 6.453 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004532/1.071, allocations: 303.1 kB / 1.288 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/1.071, allocations: 29.22 kB / 1.288 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/1.072, allocations: 0.72 MB / 1.289 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/1.073, allocations: 131.9 kB / 1.289 GB, free: 6.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/1.073, allocations: 242.4 kB / 1.289 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/1.075, allocations: 0.8813 MB / 1.29 GB, free: 5.551 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.075, allocations: 4 kB / 1.29 GB, free: 5.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.075, allocations: 0 / 1.29 GB, free: 5.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.075, allocations: 0 / 1.29 GB, free: 5.547 MB / 1.014 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.001581/1.076, allocations: 0.89 MB / 1.291 GB, free: 4.848 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.076, allocations: 10.02 kB / 1.291 GB, free: 4.848 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/1.077, allocations: 62.56 kB / 1.291 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/1.077, allocations: 467.5 kB / 1.291 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.078, allocations: 25.19 kB / 1.291 GB, free: 4.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/1.078, allocations: 27.97 kB / 1.291 GB, free: 4.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/1.078, allocations: 290 kB / 1.292 GB, free: 4.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.078, allocations: 3.938 kB / 1.292 GB, free: 4.301 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.078, allocations: 10.69 kB / 1.292 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.078, allocations: 6.469 kB / 1.292 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/1.079, allocations: 193.8 kB / 1.292 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/1.081, allocations: 1.468 MB / 1.293 GB, free: 3.121 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/1.081, allocations: 162 kB / 1.293 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/1.082, allocations: 84.06 kB / 1.293 GB, free: 3.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/1.083, allocations: 1.282 MB / 1.295 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.083, allocations: 36.41 kB / 1.295 GB, free: 1.738 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/1.083, allocations: 0 / 1.295 GB, free: 1.738 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0007426/1.084, allocations: 256.9 kB / 1.295 GB, free: 1.629 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/1.084, allocations: 53.42 kB / 1.295 GB, free: 1.566 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/1.085, allocations: 0.5724 MB / 1.296 GB, free: 1.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/1.085, allocations: 31.73 kB / 1.296 GB, free: 1.285 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.085, allocations: 269.8 kB / 1.296 GB, free: 1.066 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/1.085, allocations: 59.47 kB / 1.296 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.086, allocations: 70.06 kB / 1.296 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.086, allocations: 356.8 kB / 1.296 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.086, allocations: 80.34 kB / 1.296 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/1.086, allocations: 209.8 kB / 1.297 GB, free: 464 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/1.087, allocations: 236.5 kB / 1.297 GB, free: 304 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.087, allocations: 1.219 kB / 1.297 GB, free: 304 kB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006442/1.087, allocations: 307.1 kB / 1.297 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.087, allocations: 10.97 kB / 1.297 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.087, allocations: 6.531 kB / 1.297 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.088, allocations: 4.281 kB / 1.297 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.088, allocations: 64.75 kB / 1.297 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.088, allocations: 4.984 kB / 1.297 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/1.088, allocations: 49.31 kB / 1.297 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/1.088, allocations: 16.25 kB / 1.297 GB, free: 124 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004588/1.089, allocations: 217.7 kB / 1.298 GB, free: 15.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000391/1.089, allocations: 216.7 kB / 1.298 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004255/1.09, allocations: 226.9 kB / 1.298 GB, free: 15.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-06/1.09, allocations: 1.75 kB / 1.298 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006986/1.09, allocations: 310 kB / 1.298 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/1.09, allocations: 6.828 kB / 1.298 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.09, allocations: 10.47 kB / 1.298 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/1.09, allocations: 9.094 kB / 1.298 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/1.091, allocations: 64.47 kB / 1.298 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.091, allocations: 3.562 kB / 1.298 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/1.091, allocations: 38.09 kB / 1.298 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.091, allocations: 19.95 kB / 1.298 GB, free: 15.5 MB / 1.029 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.0001664/1.091, allocations: 199.6 kB / 1.299 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/1.091, allocations: 59.41 kB / 1.299 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006122/1.092, allocations: 252.7 kB / 1.299 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.092, allocations: 2.719 kB / 1.299 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.092, allocations: 0 / 1.299 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.092, allocations: 3.156 kB / 1.299 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.093, allocations: 0.7341 MB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.093, allocations: 5.375 kB / 1.3 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/1.093, allocations: 32.61 kB / 1.3 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.093, allocations: 2.922 kB / 1.3 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/1.093, allocations: 7.031 kB / 1.3 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.093, allocations: 3.172 kB / 1.3 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.094, allocations: 5.031 kB / 1.3 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/1.094, allocations: 360.8 kB / 1.3 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/1.094, allocations: 149.7 kB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/1.094, allocations: 2.891 kB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.095, allocations: 13.52 kB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/1.095, allocations: 15.92 kB / 1.3 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.095, allocations: 10.17 kB / 1.3 GB, free: 14.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005324/1.095, allocations: 415.1 kB / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.475e-06/1.095, allocations: 0 / 1.301 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008752/1.096, allocations: 240.6 kB / 1.301 GB, free: 14.03 MB / 1.029 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.001689/1.098, allocations: 0.4893 MB / 1.301 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000896/1.099, allocations: 316.1 kB / 1.302 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.099, allocations: 1.312 kB / 1.302 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.099, allocations: 90.2 kB / 1.302 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.1, allocations: 256.8 kB / 1.302 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/1.102, allocations: 0.8486 MB / 1.303 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/1.102, allocations: 0.8434 MB / 1.304 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.103, allocations: 44.22 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of SimCode: time 2.294e-06/1.103, allocations: 0 / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of Templates: time 0.01701/1.12, allocations: 8.544 MB / 1.312 GB, free: 11.37 MB / 1.029 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.52713522897102]