Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.001812/0.001812, allocations: 116.6 kB / 17.13 MB, free: 6.004 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.002188/0.002188, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.027/3.027, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valLin.res1.phi|valLin.res3.phi|valEquPerLin.res1.phi|valEquPerLin.res3.phi|valTab.res1.phi|valTab.res3.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [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.002082/0.002082, allocations: 63.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9475/0.9496, allocations: 176.1 MB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1249/1.074, allocations: 113.8 MB / 1.433 GB, free: 7.789 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03682/1.111, allocations: 20.21 MB / 1.453 GB, free: 9.188 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005768/1.117, allocations: 152.9 kB / 1.453 GB, free: 9.102 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005233/1.122, allocations: 1.314 MB / 1.454 GB, free: 7.996 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01332/1.136, allocations: 3.885 MB / 1.458 GB, free: 4.938 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009418/1.145, allocations: 3.13 MB / 1.461 GB, free: 2.562 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01215/1.157, allocations: 7.182 MB / 1.468 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/1.161, allocations: 2.106 MB / 1.47 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009306/1.171, allocations: 3.094 MB / 1.473 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005516/1.176, allocations: 2.17 MB / 1.475 GB, free: 9.609 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/1.177, allocations: 254.7 kB / 1.476 GB, free: 9.609 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/1.183, allocations: 1.719 MB / 1.477 GB, free: 8.738 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001591/1.185, allocations: 0.7136 MB / 1.478 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00577/1.19, allocations: 1.501 MB / 1.479 GB, free: 7.148 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.202, allocations: 4.476 MB / 1.484 GB, free: 3.73 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.202, allocations: 0 / 1.484 GB, free: 3.73 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.455e-06/1.202, allocations: 4 kB / 1.484 GB, free: 3.727 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001586/1.202, allocations: 3.938 kB / 1.484 GB, free: 3.723 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008425/1.21, allocations: 3.297 MB / 1.487 GB, free: 364 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.21, allocations: 12.02 kB / 1.487 GB, free: 352 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.211, allocations: 338.3 kB / 1.487 GB, free: 12 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005357/1.217, allocations: 2.211 MB / 1.49 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.217, allocations: 127 kB / 1.49 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/1.217, allocations: 164 kB / 1.49 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/1.221, allocations: 1.608 MB / 1.491 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/1.221, allocations: 4 kB / 1.491 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/1.221, allocations: 60 kB / 1.491 GB, free: 11.71 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/1.221, allocations: 51.88 kB / 1.491 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/1.223, allocations: 1.143 MB / 1.493 GB, free: 10.51 MB / 1.17 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.01423/1.238, allocations: 8.155 MB / 1.501 GB, free: 1.793 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009312/1.238, allocations: 438 kB / 1.501 GB, free: 1.355 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/1.239, allocations: 302.9 kB / 1.501 GB, free: 1.055 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007743/1.24, allocations: 0.7563 MB / 1.502 GB, free: 136 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/1.24, allocations: 43.12 kB / 1.502 GB, free: 84 kB / 1.17 GB Notification: Performance of pre-optimization done (n=60): time 3.196e-06/1.24, allocations: 0 / 1.502 GB, free: 84 kB / 1.17 GB Notification: Performance of matching and sorting (n=60): time 0.002608/1.242, allocations: 0.9973 MB / 1.503 GB, free: 15.08 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.242, allocations: 59.97 kB / 1.503 GB, free: 15.01 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/1.246, allocations: 2.306 MB / 1.505 GB, free: 12.69 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/1.247, allocations: 45.7 kB / 1.505 GB, free: 12.64 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.248, allocations: 1.163 MB / 1.507 GB, free: 11.47 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/1.248, allocations: 226.1 kB / 1.507 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004246/1.249, allocations: 250.8 kB / 1.507 GB, free: 11 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.249, allocations: 349.9 kB / 1.507 GB, free: 10.65 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/1.25, allocations: 365.9 kB / 1.508 GB, free: 10.29 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.251, allocations: 0.7463 MB / 1.508 GB, free: 9.383 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.252, allocations: 0.9863 MB / 1.509 GB, free: 8.289 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.252, allocations: 0 / 1.509 GB, free: 8.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002986/1.255, allocations: 1.305 MB / 1.511 GB, free: 6.973 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.255, allocations: 8 kB / 1.511 GB, free: 6.965 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.255, allocations: 8 kB / 1.511 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/1.255, allocations: 16 kB / 1.511 GB, free: 6.941 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.257, allocations: 255.6 kB / 1.511 GB, free: 6.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-05/1.257, allocations: 19.92 kB / 1.511 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.258, allocations: 166.9 kB / 1.511 GB, free: 6.508 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.259, allocations: 55.98 kB / 1.511 GB, free: 6.453 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001649/1.26, allocations: 0.7602 MB / 1.512 GB, free: 5.688 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/1.261, allocations: 0.731 MB / 1.513 GB, free: 4.797 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/1.263, allocations: 0.9524 MB / 1.514 GB, free: 3.727 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.655e-06/1.263, allocations: 7.938 kB / 1.514 GB, free: 3.719 MB / 1.186 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002888/1.266, allocations: 1.271 MB / 1.515 GB, free: 2.438 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.266, allocations: 14.5 kB / 1.515 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.266, allocations: 8 kB / 1.515 GB, free: 2.418 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.266, allocations: 12 kB / 1.515 GB, free: 2.406 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/1.267, allocations: 247.6 kB / 1.515 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/1.267, allocations: 19.94 kB / 1.515 GB, free: 2.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.269, allocations: 127.7 kB / 1.515 GB, free: 2.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.269, allocations: 48 kB / 1.515 GB, free: 1.973 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0003951/1.269, allocations: 259.8 kB / 1.515 GB, free: 1.711 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000693/1.27, allocations: 246.4 kB / 1.516 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/1.272, allocations: 0.8776 MB / 1.517 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.272, allocations: 8 kB / 1.517 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.272, allocations: 0 / 1.517 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.273, allocations: 0.6854 MB / 1.517 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005313/1.279, allocations: 2.585 MB / 1.52 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.279, allocations: 0 / 1.52 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/1.279, allocations: 131.8 kB / 1.52 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/1.279, allocations: 0 / 1.52 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/1.279, allocations: 20.09 kB / 1.52 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/1.279, allocations: 8 kB / 1.52 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.279, allocations: 0 / 1.52 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/1.282, allocations: 1.322 MB / 1.521 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.283, allocations: 419.3 kB / 1.522 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/1.283, allocations: 19.98 kB / 1.522 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/1.284, allocations: 39.95 kB / 1.522 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.284, allocations: 48.38 kB / 1.522 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/1.285, allocations: 39.97 kB / 1.522 GB, free: 11.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002691/1.287, allocations: 1.545 MB / 1.523 GB, free: 9.574 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.287, allocations: 0 / 1.523 GB, free: 9.574 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003559/1.291, allocations: 1.119 MB / 1.524 GB, free: 8.453 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002355/1.293, allocations: 0.7318 MB / 1.525 GB, free: 7.848 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00288/1.296, allocations: 1.284 MB / 1.526 GB, free: 6.566 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.296, allocations: 0 / 1.526 GB, free: 6.566 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/1.297, allocations: 304.4 kB / 1.527 GB, free: 6.273 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/1.304, allocations: 1.388 MB / 1.528 GB, free: 4.934 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007238/1.311, allocations: 3.798 MB / 1.532 GB, free: 1.078 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.312, allocations: 1.578 MB / 1.533 GB, free: 15.47 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/1.313, allocations: 179.4 kB / 1.533 GB, free: 15.29 MB / 1.217 GB Notification: Performance of SimCode: time 1.263e-06/1.313, allocations: 4 kB / 1.533 GB, free: 15.29 MB / 1.217 GB Notification: Performance of Templates: time 0.06531/1.378, allocations: 39.92 MB / 1.572 GB, free: 7.684 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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: 21.185399105990655]