Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.88 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3391, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02305/0.3622, allocations: 17.59 MB / 1.231 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008647/0.3708, allocations: 4.933 MB / 1.236 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.3715, allocations: 19.88 kB / 1.236 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.3725, allocations: 258.4 kB / 1.236 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.3744, allocations: 0.6336 MB / 1.237 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.3766, allocations: 0.7319 MB / 1.238 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.3782, allocations: 0.9663 MB / 1.239 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005452/0.3787, allocations: 293 kB / 1.239 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.3796, allocations: 430.2 kB / 1.239 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.3801, allocations: 330.5 kB / 1.24 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.3802, allocations: 32 kB / 1.24 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3818, allocations: 0.7408 MB / 1.24 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.382, allocations: 139.4 kB / 1.24 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003928/0.3824, allocations: 234.7 kB / 1.241 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.384, allocations: 0.8873 MB / 1.242 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.384, allocations: 0 / 1.242 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.384, allocations: 0 / 1.242 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.384, allocations: 0 / 1.242 GB, free: 4.621 MB / 0.9825 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.00156/0.3856, allocations: 0.8982 MB / 1.242 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3856, allocations: 11.97 kB / 1.242 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.3858, allocations: 68.5 kB / 1.243 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.3866, allocations: 462.2 kB / 1.243 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.3867, allocations: 28.48 kB / 1.243 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.3867, allocations: 28 kB / 1.243 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.3874, allocations: 298.2 kB / 1.243 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3874, allocations: 0 / 1.243 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3874, allocations: 7.938 kB / 1.243 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3874, allocations: 8 kB / 1.243 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.3879, allocations: 190.1 kB / 1.244 GB, free: 2.535 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.3901, allocations: 1.48 MB / 1.245 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3905, allocations: 154.8 kB / 1.245 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.3907, allocations: 80.66 kB / 1.245 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.3928, allocations: 1.272 MB / 1.246 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3928, allocations: 38.5 kB / 1.246 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.3928, allocations: 4 kB / 1.246 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007183/0.3935, allocations: 252.1 kB / 1.247 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3936, allocations: 55.41 kB / 1.247 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.3943, allocations: 0.5848 MB / 1.247 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3944, allocations: 29.7 kB / 1.247 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.3946, allocations: 276.4 kB / 1.248 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3947, allocations: 51.59 kB / 1.248 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3948, allocations: 77.92 kB / 1.248 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002516/0.395, allocations: 362.7 kB / 1.248 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.3952, allocations: 77.94 kB / 1.248 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.3956, allocations: 214.6 kB / 1.248 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.396, allocations: 231.1 kB / 1.249 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.396, allocations: 0 / 1.249 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006753/0.3967, allocations: 323.3 kB / 1.249 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3967, allocations: 7.938 kB / 1.249 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3967, allocations: 4 kB / 1.249 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3968, allocations: 4 kB / 1.249 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.397, allocations: 64.16 kB / 1.249 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.397, allocations: 11.98 kB / 1.249 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.3974, allocations: 43.7 kB / 1.249 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3974, allocations: 16 kB / 1.249 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003671/0.3978, allocations: 216.6 kB / 1.249 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000364/0.3981, allocations: 205.6 kB / 1.249 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004238/0.3986, allocations: 225.2 kB / 1.25 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.3986, allocations: 0 / 1.25 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006586/0.3992, allocations: 310.8 kB / 1.25 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3992, allocations: 14.02 kB / 1.25 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3992, allocations: 3.938 kB / 1.25 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.3992, allocations: 4 kB / 1.25 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3995, allocations: 64.16 kB / 1.25 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3995, allocations: 11.94 kB / 1.25 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3998, allocations: 35.86 kB / 1.25 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3998, allocations: 16.19 kB / 1.25 GB, free: 11.24 MB / 0.9981 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.0001578/0.4, allocations: 192.2 kB / 1.25 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.4001, allocations: 59.55 kB / 1.25 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.4008, allocations: 257.8 kB / 1.251 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.4008, allocations: 0 / 1.251 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4008, allocations: 0 / 1.251 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4008, allocations: 0 / 1.251 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4021, allocations: 0.7472 MB / 1.251 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4021, allocations: 0 / 1.251 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.4022, allocations: 27.98 kB / 1.251 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4022, allocations: 4 kB / 1.251 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.4023, allocations: 7.938 kB / 1.251 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.4023, allocations: 4 kB / 1.251 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4023, allocations: 0 / 1.251 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.4028, allocations: 360.9 kB / 1.252 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.403, allocations: 144.8 kB / 1.252 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4031, allocations: 4 kB / 1.252 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4033, allocations: 11.98 kB / 1.252 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.4033, allocations: 23.92 kB / 1.252 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4033, allocations: 7.984 kB / 1.252 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005326/0.4039, allocations: 426.8 kB / 1.252 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4039, allocations: 0 / 1.252 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008877/0.4048, allocations: 231.5 kB / 1.253 GB, free: 8.641 MB / 0.9981 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.001699/0.4065, allocations: 492.8 kB / 1.253 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.4073, allocations: 309.6 kB / 1.253 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4073, allocations: 0 / 1.253 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.4075, allocations: 85.08 kB / 1.253 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4088, allocations: 266.5 kB / 1.254 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4103, allocations: 0.853 MB / 1.254 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.4109, allocations: 0.8389 MB / 1.255 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.411, allocations: 43.42 kB / 1.255 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.411, allocations: 0 / 1.255 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of Templates: time 0.5931/1.004, allocations: 8.592 MB / 1.264 GB, free: 49.59 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.604805422015488]