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.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.002267/0.002267, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002671/0.002671, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.801 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.891/3.891, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.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: 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.002177/0.002177, allocations: 71.52 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.5634, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02489/0.5883, allocations: 16.36 MB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.5983, allocations: 4.676 MB / 1.384 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5993, allocations: 23.75 kB / 1.384 GB, free: 8.484 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.6006, allocations: 258.4 kB / 1.385 GB, free: 8.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.6034, allocations: 0.6647 MB / 1.385 GB, free: 7.562 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.6064, allocations: 0.741 MB / 1.386 GB, free: 6.828 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.6086, allocations: 0.978 MB / 1.387 GB, free: 5.848 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.6092, allocations: 281.5 kB / 1.387 GB, free: 5.562 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.6106, allocations: 494.1 kB / 1.388 GB, free: 5.078 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.6112, allocations: 298.6 kB / 1.388 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.6113, allocations: 32 kB / 1.388 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.6132, allocations: 0.6122 MB / 1.389 GB, free: 4.141 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.6134, allocations: 139.4 kB / 1.389 GB, free: 4.004 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.6137, allocations: 198.9 kB / 1.389 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.6156, allocations: 0.8717 MB / 1.39 GB, free: 2.934 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6156, allocations: 0 / 1.39 GB, free: 2.934 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.378e-06/0.6156, allocations: 3.984 kB / 1.39 GB, free: 2.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.6156, allocations: 4 kB / 1.39 GB, free: 2.926 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001644/0.6173, allocations: 0.8189 MB / 1.391 GB, free: 2.074 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6173, allocations: 8.031 kB / 1.391 GB, free: 2.066 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.6175, allocations: 64.56 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/0.6184, allocations: 410.8 kB / 1.391 GB, free: 1.578 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.6185, allocations: 24.44 kB / 1.391 GB, free: 1.555 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.6185, allocations: 28 kB / 1.391 GB, free: 1.527 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.6191, allocations: 285.2 kB / 1.391 GB, free: 1.227 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.6191, allocations: 4 kB / 1.391 GB, free: 1.223 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.6192, allocations: 8 kB / 1.391 GB, free: 1.215 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.6192, allocations: 12 kB / 1.391 GB, free: 1.203 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004479/0.6196, allocations: 181.8 kB / 1.392 GB, free: 1.023 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.6219, allocations: 1.182 MB / 1.393 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.6223, allocations: 146.8 kB / 1.393 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.6225, allocations: 84.78 kB / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.6239, allocations: 0.5273 MB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.6239, allocations: 30.56 kB / 1.394 GB, free: 14.96 MB / 1.092 GB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/0.6239, allocations: 0 / 1.394 GB, free: 14.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=15): time 0.0007016/0.6246, allocations: 253.1 kB / 1.394 GB, free: 14.71 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.6247, allocations: 59.39 kB / 1.394 GB, free: 14.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.6255, allocations: 0.5566 MB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.6255, allocations: 33.7 kB / 1.394 GB, free: 14.03 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.6257, allocations: 272.3 kB / 1.395 GB, free: 13.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.6258, allocations: 55.53 kB / 1.395 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.6259, allocations: 69.98 kB / 1.395 GB, free: 13.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6261, allocations: 354.8 kB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.6263, allocations: 77.94 kB / 1.395 GB, free: 13.2 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.6268, allocations: 453.9 kB / 1.396 GB, free: 12.65 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.6273, allocations: 238.8 kB / 1.396 GB, free: 12.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6273, allocations: 0 / 1.396 GB, free: 12.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006549/0.6279, allocations: 314.7 kB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.628, allocations: 4 kB / 1.396 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.628, allocations: 11.88 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.628, allocations: 4 kB / 1.396 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.6283, allocations: 63.91 kB / 1.396 GB, free: 11.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.6283, allocations: 4 kB / 1.396 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.6286, allocations: 36.06 kB / 1.396 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.6287, allocations: 20.09 kB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004023/0.6291, allocations: 220.6 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004904/0.6296, allocations: 441.7 kB / 1.397 GB, free: 11.18 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004571/0.63, allocations: 227.7 kB / 1.397 GB, free: 10.92 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.63, allocations: 0 / 1.397 GB, free: 10.92 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006394/0.6307, allocations: 301.4 kB / 1.397 GB, free: 10.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6307, allocations: 14.06 kB / 1.397 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6307, allocations: 4 kB / 1.397 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6307, allocations: 11.92 kB / 1.397 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.6309, allocations: 67.89 kB / 1.398 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.631, allocations: 7.938 kB / 1.398 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.6313, allocations: 35.83 kB / 1.398 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.6313, allocations: 15.98 kB / 1.398 GB, free: 10.47 MB / 1.092 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.0001857/0.6315, allocations: 200.1 kB / 1.398 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.6316, allocations: 47.72 kB / 1.398 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.6323, allocations: 261.2 kB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6323, allocations: 4 kB / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6323, allocations: 0 / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6323, allocations: 4 kB / 1.398 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.6336, allocations: 0.6533 MB / 1.399 GB, free: 9.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6336, allocations: 0 / 1.399 GB, free: 9.242 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.6337, allocations: 27.98 kB / 1.399 GB, free: 9.215 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.6337, allocations: 7.984 kB / 1.399 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.6337, allocations: 4 kB / 1.399 GB, free: 9.203 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6337, allocations: 4 kB / 1.399 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6337, allocations: 0 / 1.399 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.6343, allocations: 361.2 kB / 1.399 GB, free: 8.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6345, allocations: 71.56 kB / 1.399 GB, free: 8.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.6346, allocations: 11.98 kB / 1.399 GB, free: 8.738 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6347, allocations: 11.98 kB / 1.399 GB, free: 8.727 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.6348, allocations: 15.92 kB / 1.399 GB, free: 8.711 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.6348, allocations: 4 kB / 1.399 GB, free: 8.707 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005559/0.6354, allocations: 406.8 kB / 1.4 GB, free: 8.312 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6354, allocations: 0 / 1.4 GB, free: 8.312 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000886/0.6363, allocations: 231.5 kB / 1.4 GB, free: 8.086 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 (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.001845/0.6381, allocations: 0.5001 MB / 1.4 GB, free: 7.73 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000849/0.6389, allocations: 310.3 kB / 1.401 GB, free: 7.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.639, allocations: 0 / 1.401 GB, free: 7.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.6391, allocations: 84.95 kB / 1.401 GB, free: 7.348 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6403, allocations: 226.8 kB / 1.401 GB, free: 7.133 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.642, allocations: 0.824 MB / 1.402 GB, free: 6.27 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.6424, allocations: 238.1 kB / 1.402 GB, free: 6.012 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000343/0.6427, allocations: 100.1 kB / 1.402 GB, free: 5.914 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.6428, allocations: 43.42 kB / 1.402 GB, free: 5.871 MB / 1.092 GB Notification: Performance of SimCode: time 6.62e-07/0.6428, allocations: 0 / 1.402 GB, free: 5.871 MB / 1.092 GB Notification: Performance of Templates: time 0.02225/0.6651, allocations: 10.83 MB / 1.413 GB, free: 11.25 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.179687038064003]