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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.631/3.631, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 70.64 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5562, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0209/0.5771, allocations: 14.5 MB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008687/0.5858, allocations: 4.101 MB / 1.382 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.5867, allocations: 23.75 kB / 1.382 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.588, allocations: 258.4 kB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.5904, allocations: 0.6803 MB / 1.383 GB, free: 9.914 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.5928, allocations: 0.7116 MB / 1.384 GB, free: 9.211 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.5947, allocations: 1.033 MB / 1.385 GB, free: 8.176 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.5954, allocations: 272.4 kB / 1.385 GB, free: 7.898 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.5967, allocations: 0.4942 MB / 1.385 GB, free: 7.402 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.5972, allocations: 302.6 kB / 1.386 GB, free: 7.105 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.5973, allocations: 28 kB / 1.386 GB, free: 7.078 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.5987, allocations: 0.5381 MB / 1.386 GB, free: 6.539 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.5989, allocations: 111.5 kB / 1.386 GB, free: 6.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.5992, allocations: 183.1 kB / 1.387 GB, free: 6.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.6006, allocations: 0.751 MB / 1.387 GB, free: 5.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6006, allocations: 7.875 kB / 1.387 GB, free: 5.488 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6006, allocations: 0 / 1.387 GB, free: 5.488 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.6006, allocations: 0 / 1.387 GB, free: 5.488 MB / 1.076 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.001515/0.6021, allocations: 0.7763 MB / 1.388 GB, free: 4.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.6022, allocations: 8.031 kB / 1.388 GB, free: 4.672 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.6023, allocations: 56.61 kB / 1.388 GB, free: 4.617 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.6031, allocations: 370.6 kB / 1.388 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.6032, allocations: 24.44 kB / 1.388 GB, free: 4.211 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.6032, allocations: 24 kB / 1.388 GB, free: 4.188 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.6037, allocations: 215.2 kB / 1.389 GB, free: 3.973 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6037, allocations: 0 / 1.389 GB, free: 3.973 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.6037, allocations: 8 kB / 1.389 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.6038, allocations: 4 kB / 1.389 GB, free: 3.961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.6042, allocations: 165.6 kB / 1.389 GB, free: 3.797 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.606, allocations: 0.7061 MB / 1.39 GB, free: 3.055 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.6063, allocations: 130.5 kB / 1.39 GB, free: 2.918 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.6065, allocations: 68.81 kB / 1.39 GB, free: 2.848 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.6067, allocations: 27.97 kB / 1.39 GB, free: 2.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.6067, allocations: 38.56 kB / 1.39 GB, free: 2.773 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.6067, allocations: 0 / 1.39 GB, free: 2.773 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0006729/0.6074, allocations: 237.2 kB / 1.39 GB, free: 2.535 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.6074, allocations: 59.39 kB / 1.39 GB, free: 2.465 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.608, allocations: 437.9 kB / 1.39 GB, free: 2.031 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.608, allocations: 29.7 kB / 1.391 GB, free: 1.996 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.6083, allocations: 236.6 kB / 1.391 GB, free: 1.762 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6083, allocations: 51.64 kB / 1.391 GB, free: 1.711 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.6084, allocations: 61.66 kB / 1.391 GB, free: 1.645 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.6086, allocations: 354.8 kB / 1.391 GB, free: 1.289 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.6088, allocations: 76.67 kB / 1.391 GB, free: 1.211 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.6093, allocations: 410.5 kB / 1.392 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.6097, allocations: 168.6 kB / 1.392 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6097, allocations: 0 / 1.392 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005597/0.6102, allocations: 249.2 kB / 1.392 GB, free: 308 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6102, allocations: 5.719 kB / 1.392 GB, free: 304 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6102, allocations: 7.938 kB / 1.392 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.6103, allocations: 0 / 1.392 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.6105, allocations: 51.91 kB / 1.392 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.6105, allocations: 0 / 1.392 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.6108, allocations: 31.86 kB / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.6109, allocations: 12 kB / 1.392 GB, free: 200 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003196/0.6112, allocations: 188.2 kB / 1.392 GB, free: 8 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005618/0.6117, allocations: 426.3 kB / 1.393 GB, free: 15.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003486/0.6121, allocations: 170.8 kB / 1.393 GB, free: 15.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6121, allocations: 0 / 1.393 GB, free: 15.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000519/0.6126, allocations: 257.1 kB / 1.393 GB, free: 15.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.6126, allocations: 4 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6126, allocations: 4.188 kB / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-06/0.6126, allocations: 0 / 1.393 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.6128, allocations: 51.97 kB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6128, allocations: 7.984 kB / 1.393 GB, free: 14.99 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.6131, allocations: 31.91 kB / 1.393 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.6132, allocations: 12 kB / 1.393 GB, free: 14.95 MB / 1.092 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.000179/0.6134, allocations: 196.1 kB / 1.393 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.6134, allocations: 39.72 kB / 1.393 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.6141, allocations: 245 kB / 1.394 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6141, allocations: 4 kB / 1.394 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.6141, allocations: 4 kB / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.6141, allocations: 3.984 kB / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.6152, allocations: 0.6181 MB / 1.394 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6152, allocations: 0 / 1.394 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.6154, allocations: 40.09 kB / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6154, allocations: 0 / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.6154, allocations: 4 kB / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6154, allocations: 4 kB / 1.394 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6154, allocations: 0 / 1.394 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.616, allocations: 348.1 kB / 1.395 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.6161, allocations: 59.62 kB / 1.395 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.6161, allocations: 7.984 kB / 1.395 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.6163, allocations: 15.98 kB / 1.395 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.6164, allocations: 15.92 kB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.6164, allocations: 8 kB / 1.395 GB, free: 13.26 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003882/0.6168, allocations: 307.1 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.6168, allocations: 0 / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007593/0.6176, allocations: 207.5 kB / 1.395 GB, free: 12.76 MB / 1.092 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.001886/0.6195, allocations: 496.8 kB / 1.396 GB, free: 12.42 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007129/0.6202, allocations: 259.7 kB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6202, allocations: 0 / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.6204, allocations: 84.14 kB / 1.396 GB, free: 12.09 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.6213, allocations: 171.7 kB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.6228, allocations: 0.7133 MB / 1.397 GB, free: 11.17 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.623, allocations: 231.7 kB / 1.397 GB, free: 10.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.6233, allocations: 79.53 kB / 1.397 GB, free: 10.84 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.6234, allocations: 35.42 kB / 1.397 GB, free: 10.81 MB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/0.6234, allocations: 0 / 1.397 GB, free: 10.81 MB / 1.092 GB Notification: Performance of Templates: time 0.01873/0.6421, allocations: 8.875 MB / 1.406 GB, free: 2.117 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.128162303939462]