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.001611/0.001611, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002072/0.002072, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.832/1.832, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.586/3.586, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.002198/0.002198, allocations: 64.58 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5332, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0217/0.5549, allocations: 14.5 MB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00893/0.5639, allocations: 4.113 MB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.5649, allocations: 23.75 kB / 1.344 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.5663, allocations: 254.4 kB / 1.344 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.5689, allocations: 0.6735 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.5715, allocations: 0.7164 MB / 1.345 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.5738, allocations: 1.044 MB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.5747, allocations: 273.4 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.5761, allocations: 494.1 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008489/0.577, allocations: 314.5 kB / 1.347 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.5771, allocations: 28 kB / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.5788, allocations: 0.5303 MB / 1.348 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.579, allocations: 107.6 kB / 1.348 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.5794, allocations: 179 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.5817, allocations: 0.7704 MB / 1.349 GB, free: 9.762 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5817, allocations: 0 / 1.349 GB, free: 9.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5817, allocations: 0 / 1.349 GB, free: 9.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.5818, allocations: 0 / 1.349 GB, free: 9.762 MB / 1.045 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.00233/0.5841, allocations: 0.7646 MB / 1.35 GB, free: 8.965 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.5842, allocations: 12.03 kB / 1.35 GB, free: 8.953 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.5844, allocations: 52.61 kB / 1.35 GB, free: 8.902 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.5854, allocations: 374.6 kB / 1.35 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.5855, allocations: 20.44 kB / 1.35 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.5855, allocations: 28 kB / 1.35 GB, free: 8.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.5861, allocations: 219.2 kB / 1.35 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5861, allocations: 0 / 1.35 GB, free: 8.246 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.5861, allocations: 8 kB / 1.35 GB, free: 8.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5861, allocations: 8 kB / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.5866, allocations: 161.6 kB / 1.351 GB, free: 8.074 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.5885, allocations: 0.7022 MB / 1.351 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.5888, allocations: 126.5 kB / 1.351 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.589, allocations: 68.81 kB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000199/0.5892, allocations: 31.97 kB / 1.351 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.5892, allocations: 38.56 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.5892, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0007131/0.5899, allocations: 233.3 kB / 1.352 GB, free: 6.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.59, allocations: 51.41 kB / 1.352 GB, free: 6.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.5906, allocations: 437.9 kB / 1.352 GB, free: 6.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5906, allocations: 33.64 kB / 1.352 GB, free: 6.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.5908, allocations: 236.5 kB / 1.352 GB, free: 6.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.5909, allocations: 59.59 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.591, allocations: 61.69 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.5912, allocations: 350.8 kB / 1.353 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.5914, allocations: 72.81 kB / 1.353 GB, free: 5.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.5919, allocations: 413.7 kB / 1.353 GB, free: 5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.5923, allocations: 172.1 kB / 1.354 GB, free: 4.824 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5923, allocations: 0 / 1.354 GB, free: 4.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005733/0.5929, allocations: 261.2 kB / 1.354 GB, free: 4.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5929, allocations: 4 kB / 1.354 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5929, allocations: 0 / 1.354 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5929, allocations: 4 kB / 1.354 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.5932, allocations: 47.91 kB / 1.354 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5932, allocations: 4 kB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.5935, allocations: 31.86 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.5936, allocations: 8.094 kB / 1.354 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000349/0.5939, allocations: 196 kB / 1.354 GB, free: 4.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004619/0.5944, allocations: 416.4 kB / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003762/0.5947, allocations: 176 kB / 1.355 GB, free: 3.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.5947, allocations: 0 / 1.355 GB, free: 3.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005377/0.5953, allocations: 249.2 kB / 1.355 GB, free: 3.336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5953, allocations: 13.08 kB / 1.355 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.5953, allocations: 0 / 1.355 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.5953, allocations: 4 kB / 1.355 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.5955, allocations: 47.91 kB / 1.355 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.5955, allocations: 0 / 1.355 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.5958, allocations: 31.92 kB / 1.355 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.5959, allocations: 12 kB / 1.355 GB, free: 3.23 MB / 1.045 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.0001691/0.596, allocations: 200.2 kB / 1.355 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.5961, allocations: 43.72 kB / 1.355 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.5968, allocations: 256.8 kB / 1.355 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5968, allocations: 4.188 kB / 1.355 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5968, allocations: 0 / 1.355 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5968, allocations: 3.984 kB / 1.355 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.5979, allocations: 0.6183 MB / 1.356 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5979, allocations: 4 kB / 1.356 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5981, allocations: 27.92 kB / 1.356 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5981, allocations: 4 kB / 1.356 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.5981, allocations: 8 kB / 1.356 GB, free: 2.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.5981, allocations: 3.984 kB / 1.356 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5981, allocations: 0 / 1.356 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.5987, allocations: 356.4 kB / 1.356 GB, free: 1.625 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.5988, allocations: 55.67 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.5988, allocations: 4 kB / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.599, allocations: 11.98 kB / 1.356 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.5991, allocations: 19.91 kB / 1.357 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.5991, allocations: 8 kB / 1.357 GB, free: 1.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003956/0.5995, allocations: 307.1 kB / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5995, allocations: 0 / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007971/0.6003, allocations: 215.5 kB / 1.357 GB, free: 1.02 MB / 1.045 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.001992/0.6023, allocations: 481.8 kB / 1.357 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.6031, allocations: 263.7 kB / 1.358 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6031, allocations: 0 / 1.358 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.6033, allocations: 83.88 kB / 1.358 GB, free: 364 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.6043, allocations: 165.3 kB / 1.358 GB, free: 204 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.6059, allocations: 0.7211 MB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.6062, allocations: 219.7 kB / 1.359 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.6065, allocations: 91.45 kB / 1.359 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.6065, allocations: 39.44 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/0.6065, allocations: 0 / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of Templates: time 0.01913/0.6257, allocations: 8.871 MB / 1.368 GB, free: 6.398 MB / 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/jenkins/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: 11.078745821490884]