Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00227/0.00227, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002242/0.002242, allocations: 212.9 kB / 22.25 MB, free: 5.082 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.623/1.623, allocations: 230.6 MB / 256 MB, free: 8.023 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.412/3.412, allocations: 0.4899 GB / 0.7951 GB, free: 33.43 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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_12_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_12_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.002098/0.002098, allocations: 71.52 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4754, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02469/0.5001, allocations: 17.9 MB / 1.344 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008845/0.509, allocations: 5.092 MB / 1.349 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.5097, allocations: 19.81 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.5108, allocations: 262.3 kB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.5129, allocations: 0.6725 MB / 1.35 GB, free: 9.406 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.5155, allocations: 0.7555 MB / 1.35 GB, free: 8.656 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.5174, allocations: 0.9819 MB / 1.351 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/0.518, allocations: 281.6 kB / 1.352 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.519, allocations: 494 kB / 1.352 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.5195, allocations: 322.6 kB / 1.352 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.5196, allocations: 28 kB / 1.352 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5212, allocations: 0.7604 MB / 1.353 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.5214, allocations: 139.4 kB / 1.353 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.5217, allocations: 246.6 kB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.5232, allocations: 0.8873 MB / 1.354 GB, free: 4.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5232, allocations: 7.938 kB / 1.354 GB, free: 4.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5232, allocations: 4 kB / 1.354 GB, free: 4.512 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5232, allocations: 0 / 1.354 GB, free: 4.512 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001503/0.5247, allocations: 0.8189 MB / 1.355 GB, free: 3.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5247, allocations: 8.031 kB / 1.355 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.525, allocations: 68.5 kB / 1.355 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.5258, allocations: 406.9 kB / 1.356 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.5258, allocations: 24.44 kB / 1.356 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.5259, allocations: 28 kB / 1.356 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.5265, allocations: 289.2 kB / 1.356 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5265, allocations: 0 / 1.356 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.5265, allocations: 12 kB / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5265, allocations: 4 kB / 1.356 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.527, allocations: 189.8 kB / 1.356 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.5295, allocations: 1.437 MB / 1.358 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.53, allocations: 158.7 kB / 1.358 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.5302, allocations: 80.81 kB / 1.358 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.5316, allocations: 0.5701 MB / 1.358 GB, free: 240 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.5316, allocations: 46.48 kB / 1.358 GB, free: 184 kB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.5316, allocations: 0 / 1.358 GB, free: 184 kB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007891/0.5324, allocations: 250.7 kB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.5325, allocations: 51.41 kB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.5334, allocations: 0.5926 MB / 1.359 GB, free: 15.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.5334, allocations: 25.7 kB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.5338, allocations: 284.4 kB / 1.36 GB, free: 14.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.5339, allocations: 51.53 kB / 1.36 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.534, allocations: 73.92 kB / 1.36 GB, free: 14.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.5342, allocations: 358.8 kB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5344, allocations: 81.88 kB / 1.36 GB, free: 14.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.5348, allocations: 210.7 kB / 1.36 GB, free: 14.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.5353, allocations: 243.1 kB / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.5353, allocations: 0 / 1.361 GB, free: 13.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006477/0.5359, allocations: 314.7 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5359, allocations: 7.938 kB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5359, allocations: 4 kB / 1.361 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.536, allocations: 4.25 kB / 1.361 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.5362, allocations: 67.89 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.5362, allocations: 7.938 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5366, allocations: 43.77 kB / 1.361 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.5366, allocations: 15.98 kB / 1.361 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003402/0.5369, allocations: 212.6 kB / 1.361 GB, free: 13.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004491/0.5374, allocations: 210.5 kB / 1.361 GB, free: 12.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000539/0.5379, allocations: 235.6 kB / 1.362 GB, free: 12.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.5379, allocations: 3.984 kB / 1.362 GB, free: 12.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007434/0.5387, allocations: 309 kB / 1.362 GB, free: 12.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5387, allocations: 11.94 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5387, allocations: 3.938 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.5387, allocations: 4.25 kB / 1.362 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.5389, allocations: 64.09 kB / 1.362 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5389, allocations: 4 kB / 1.362 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.5393, allocations: 39.86 kB / 1.362 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.5393, allocations: 15.98 kB / 1.362 GB, free: 12.21 MB / 1.061 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.0001494/0.5394, allocations: 200.1 kB / 1.362 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.5395, allocations: 51.61 kB / 1.362 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.5401, allocations: 263.4 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5401, allocations: 0 / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.5401, allocations: 0 / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5402, allocations: 3.984 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5414, allocations: 0.7175 MB / 1.363 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5414, allocations: 4 kB / 1.363 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.5415, allocations: 27.98 kB / 1.363 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5415, allocations: 4 kB / 1.363 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.5415, allocations: 8 kB / 1.363 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5415, allocations: 3.938 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5415, allocations: 3.938 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.5421, allocations: 360.1 kB / 1.364 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.5422, allocations: 71.58 kB / 1.364 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.5423, allocations: 4 kB / 1.364 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5425, allocations: 15.98 kB / 1.364 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.5425, allocations: 23.84 kB / 1.364 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5426, allocations: 8 kB / 1.364 GB, free: 10.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005353/0.5431, allocations: 422.8 kB / 1.364 GB, free: 9.957 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5431, allocations: 0 / 1.364 GB, free: 9.957 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008269/0.5439, allocations: 227.6 kB / 1.364 GB, free: 9.734 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 (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.00169/0.5456, allocations: 489.5 kB / 1.365 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007489/0.5464, allocations: 317.3 kB / 1.365 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5464, allocations: 0 / 1.365 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.5466, allocations: 83.83 kB / 1.365 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5478, allocations: 255.2 kB / 1.366 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.5493, allocations: 0.8211 MB / 1.366 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.5498, allocations: 0.8506 MB / 1.367 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.5502, allocations: 112.2 kB / 1.367 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.5503, allocations: 35.44 kB / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.5503, allocations: 0 / 1.367 GB, free: 6.855 MB / 1.061 GB Notification: Performance of Templates: time 0.02125/0.5715, allocations: 10.46 MB / 1.378 GB, free: 12.55 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.419832663144916]