Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001601/0.001601, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.001912/0.001912, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.948/2.948, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002112/0.002112, allocations: 67.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 176.1 MB / 1.322 GB, free: 25.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01547/1.022, allocations: 15.74 MB / 1.337 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007506/1.029, allocations: 4.439 MB / 1.342 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/1.03, allocations: 25.16 kB / 1.342 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/1.031, allocations: 272.9 kB / 1.342 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/1.034, allocations: 0.662 MB / 1.343 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/1.036, allocations: 0.7042 MB / 1.343 GB, free: 10 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001925/1.038, allocations: 1.037 MB / 1.344 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/1.039, allocations: 293 kB / 1.345 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/1.04, allocations: 479.3 kB / 1.345 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/1.041, allocations: 331.7 kB / 1.345 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/1.041, allocations: 27.75 kB / 1.345 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/1.042, allocations: 0.6376 MB / 1.346 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/1.042, allocations: 104.1 kB / 1.346 GB, free: 8.777 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/1.043, allocations: 221.5 kB / 1.346 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/1.044, allocations: 0.7747 MB / 1.347 GB, free: 8.348 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.044, allocations: 0.75 kB / 1.347 GB, free: 8.348 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.334e-06/1.044, allocations: 0 / 1.347 GB, free: 8.348 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.044, allocations: 0 / 1.347 GB, free: 8.348 MB / 1.061 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.001294/1.046, allocations: 0.8498 MB / 1.348 GB, free: 7.668 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.046, allocations: 14.75 kB / 1.348 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/1.046, allocations: 54.83 kB / 1.348 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/1.046, allocations: 441.2 kB / 1.348 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/1.046, allocations: 19.41 kB / 1.348 GB, free: 7.309 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/1.046, allocations: 27.38 kB / 1.348 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/1.047, allocations: 213 kB / 1.349 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.047, allocations: 0 / 1.349 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/1.047, allocations: 9.781 kB / 1.349 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.047, allocations: 5.562 kB / 1.349 GB, free: 7.203 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/1.047, allocations: 166.4 kB / 1.349 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/1.049, allocations: 0.942 MB / 1.35 GB, free: 6.531 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/1.049, allocations: 123.5 kB / 1.35 GB, free: 6.477 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.049, allocations: 65.75 kB / 1.35 GB, free: 6.453 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/1.05, allocations: 338.9 kB / 1.35 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/1.05, allocations: 40.44 kB / 1.35 GB, free: 6.023 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.05, allocations: 0 / 1.35 GB, free: 6.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0007014/1.05, allocations: 242.9 kB / 1.35 GB, free: 5.922 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.05, allocations: 54.39 kB / 1.351 GB, free: 5.859 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/1.051, allocations: 469.3 kB / 1.351 GB, free: 5.645 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/1.051, allocations: 36.23 kB / 1.351 GB, free: 5.605 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.051, allocations: 230.1 kB / 1.351 GB, free: 5.414 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/1.051, allocations: 57.81 kB / 1.351 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/1.051, allocations: 56.39 kB / 1.351 GB, free: 5.336 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/1.052, allocations: 354.4 kB / 1.352 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.052, allocations: 73.23 kB / 1.352 GB, free: 4.977 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/1.052, allocations: 156.7 kB / 1.352 GB, free: 4.871 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/1.052, allocations: 161.4 kB / 1.352 GB, free: 4.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.052, allocations: 1.125 kB / 1.352 GB, free: 4.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005721/1.053, allocations: 263.5 kB / 1.352 GB, free: 4.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.053, allocations: 6.312 kB / 1.352 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.053, allocations: 1.438 kB / 1.352 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.053, allocations: 1.953 kB / 1.352 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.053, allocations: 51.05 kB / 1.352 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.053, allocations: 1.188 kB / 1.352 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/1.054, allocations: 40.61 kB / 1.352 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/1.054, allocations: 9.203 kB / 1.352 GB, free: 4.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002881/1.054, allocations: 188.2 kB / 1.353 GB, free: 4.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002479/1.054, allocations: 158.9 kB / 1.353 GB, free: 4.418 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003493/1.055, allocations: 171.5 kB / 1.353 GB, free: 4.328 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/1.055, allocations: 0 / 1.353 GB, free: 4.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005484/1.055, allocations: 259.6 kB / 1.353 GB, free: 4.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.055, allocations: 6.266 kB / 1.353 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/1.055, allocations: 1.094 kB / 1.353 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/1.055, allocations: 2.188 kB / 1.353 GB, free: 4.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.055, allocations: 46.7 kB / 1.353 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/1.055, allocations: 2.797 kB / 1.353 GB, free: 4.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.056, allocations: 39.59 kB / 1.353 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/1.056, allocations: 12.77 kB / 1.353 GB, free: 4.191 MB / 1.061 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 9.34e-05/1.056, allocations: 197.2 kB / 1.353 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/1.056, allocations: 43.69 kB / 1.353 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005889/1.056, allocations: 251.6 kB / 1.354 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.056, allocations: 5.875 kB / 1.354 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.056, allocations: 1.375 kB / 1.354 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.056, allocations: 1.359 kB / 1.354 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/1.058, allocations: 0.7091 MB / 1.354 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/1.058, allocations: 1.125 kB / 1.354 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.058, allocations: 27.72 kB / 1.354 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.058, allocations: 2.031 kB / 1.354 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/1.058, allocations: 11.64 kB / 1.354 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.058, allocations: 10.72 kB / 1.354 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.058, allocations: 5.219 kB / 1.354 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/1.058, allocations: 340.3 kB / 1.355 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/1.058, allocations: 137.4 kB / 1.355 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/1.058, allocations: 3.75 kB / 1.355 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/1.059, allocations: 18.95 kB / 1.355 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/1.059, allocations: 18.91 kB / 1.355 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/1.059, allocations: 6.906 kB / 1.355 GB, free: 2.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004012/1.059, allocations: 335.4 kB / 1.355 GB, free: 2.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/1.059, allocations: 1.312 kB / 1.355 GB, free: 2.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000809/1.06, allocations: 201.2 kB / 1.356 GB, free: 2.777 MB / 1.061 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.001634/1.061, allocations: 468.9 kB / 1.356 GB, free: 2.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007976/1.062, allocations: 267.4 kB / 1.356 GB, free: 2.492 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.062, allocations: 0 / 1.356 GB, free: 2.492 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/1.063, allocations: 79.19 kB / 1.356 GB, free: 2.473 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.064, allocations: 201.7 kB / 1.356 GB, free: 2.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/1.065, allocations: 0.7477 MB / 1.357 GB, free: 1.934 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.065, allocations: 0.8235 MB / 1.358 GB, free: 1.223 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.066, allocations: 42.16 kB / 1.358 GB, free: 1.211 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/1.066, allocations: 4 kB / 1.358 GB, free: 1.207 MB / 1.061 GB Notification: Performance of Templates: time 0.01635/1.082, allocations: 7.403 MB / 1.365 GB, free: 304 kB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.58447953799623]