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.001398/0.001398, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001537/0.001537, allocations: 219.5 kB / 23.01 MB, free: 4.605 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.664/1.664, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.239/3.239, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002086/0.002086, allocations: 69.58 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02152/0.352, allocations: 17.87 MB / 1.345 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007962/0.36, allocations: 5.104 MB / 1.35 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005418/0.3605, allocations: 19.81 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.3614, allocations: 262.3 kB / 1.35 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.3631, allocations: 0.6842 MB / 1.351 GB, free: 9.434 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.3651, allocations: 0.7626 MB / 1.351 GB, free: 8.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.3665, allocations: 0.9858 MB / 1.352 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.367, allocations: 277.6 kB / 1.352 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009263/0.3679, allocations: 494 kB / 1.353 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.3684, allocations: 322.6 kB / 1.353 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.3685, allocations: 32 kB / 1.353 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.3699, allocations: 0.7603 MB / 1.354 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3701, allocations: 135.5 kB / 1.354 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.3703, allocations: 238.6 kB / 1.354 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3717, allocations: 0.8951 MB / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3717, allocations: 0 / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3717, allocations: 0 / 1.355 GB, free: 4.547 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3717, allocations: 0 / 1.355 GB, free: 4.547 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.001387/0.3731, allocations: 0.8305 MB / 1.356 GB, free: 3.684 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3731, allocations: 8.031 kB / 1.356 GB, free: 3.676 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3733, allocations: 68.56 kB / 1.356 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.3741, allocations: 394.9 kB / 1.357 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.3741, allocations: 32.38 kB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3741, allocations: 32 kB / 1.357 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.3747, allocations: 277.3 kB / 1.357 GB, free: 2.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3747, allocations: 4 kB / 1.357 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.3747, allocations: 4 kB / 1.357 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3747, allocations: 8 kB / 1.357 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3752, allocations: 197.8 kB / 1.357 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.3773, allocations: 1.437 MB / 1.358 GB, free: 1.098 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.3777, allocations: 158.8 kB / 1.359 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3779, allocations: 72.81 kB / 1.359 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.3792, allocations: 0.5779 MB / 1.359 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.3793, allocations: 34.5 kB / 1.359 GB, free: 224 kB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3793, allocations: 0 / 1.359 GB, free: 224 kB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007114/0.38, allocations: 250.9 kB / 1.36 GB, free: 15.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3801, allocations: 51.41 kB / 1.36 GB, free: 15.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.3809, allocations: 0.5926 MB / 1.36 GB, free: 15.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3809, allocations: 33.7 kB / 1.36 GB, free: 15.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.3811, allocations: 272.5 kB / 1.36 GB, free: 14.99 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.3812, allocations: 59.45 kB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3813, allocations: 69.94 kB / 1.361 GB, free: 14.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3815, allocations: 362.7 kB / 1.361 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3817, allocations: 77.94 kB / 1.361 GB, free: 14.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.382, allocations: 214.7 kB / 1.361 GB, free: 14.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.3824, allocations: 242.9 kB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3825, allocations: 0 / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006218/0.3831, allocations: 310.7 kB / 1.362 GB, free: 13.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3831, allocations: 18.22 kB / 1.362 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3831, allocations: 0 / 1.362 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3831, allocations: 4 kB / 1.362 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.3834, allocations: 67.94 kB / 1.362 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3834, allocations: 4 kB / 1.362 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.3837, allocations: 47.73 kB / 1.362 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.3838, allocations: 16 kB / 1.362 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003386/0.3841, allocations: 212.6 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003134/0.3844, allocations: 210.4 kB / 1.362 GB, free: 12.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004165/0.3848, allocations: 231.1 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.3848, allocations: 4 kB / 1.362 GB, free: 12.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005952/0.3854, allocations: 305 kB / 1.363 GB, free: 12.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3854, allocations: 12.25 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3854, allocations: 7.938 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.3854, allocations: 4 kB / 1.363 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3857, allocations: 59.91 kB / 1.363 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3857, allocations: 7.984 kB / 1.363 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.386, allocations: 35.88 kB / 1.363 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.386, allocations: 19.98 kB / 1.363 GB, free: 12.25 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.0001519/0.3862, allocations: 204.1 kB / 1.363 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.3863, allocations: 51.61 kB / 1.363 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.3869, allocations: 263.1 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3869, allocations: 4 kB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3869, allocations: 0 / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3869, allocations: 0 / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3881, allocations: 0.7135 MB / 1.364 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3881, allocations: 4 kB / 1.364 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3882, allocations: 31.92 kB / 1.364 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3882, allocations: 0 / 1.364 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3882, allocations: 15.92 kB / 1.364 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3882, allocations: 128 / 1.364 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3882, allocations: 8 kB / 1.364 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.3888, allocations: 354.5 kB / 1.365 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3889, allocations: 75.56 kB / 1.365 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.389, allocations: 3.938 kB / 1.365 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3892, allocations: 15.98 kB / 1.365 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.3892, allocations: 11.92 kB / 1.365 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3893, allocations: 8.188 kB / 1.365 GB, free: 10.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005219/0.3898, allocations: 426.8 kB / 1.365 GB, free: 9.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 3.938 kB / 1.365 GB, free: 9.992 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007757/0.3906, allocations: 231.6 kB / 1.365 GB, free: 9.766 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.001675/0.3922, allocations: 490.6 kB / 1.366 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008003/0.393, allocations: 313.3 kB / 1.366 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.393, allocations: 0 / 1.366 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3932, allocations: 85.08 kB / 1.366 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3945, allocations: 259.7 kB / 1.366 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3961, allocations: 0.8501 MB / 1.367 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.3966, allocations: 0.8428 MB / 1.368 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.3967, allocations: 47.42 kB / 1.368 GB, free: 6.953 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/0.3967, allocations: 0 / 1.368 GB, free: 6.953 MB / 1.061 GB Notification: Performance of Templates: time 0.01439/0.4111, allocations: 8.653 MB / 1.376 GB, free: 14.38 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins1/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: 13.254683095001383]