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.001646/0.001646, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001912/0.001912, allocations: 214.4 kB / 23 MB, free: 4.969 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.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.483/3.483, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002129/0.002129, allocations: 64.62 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4234, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1256/0.549, allocations: 103.8 MB / 1.428 GB, free: 8.824 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.5832, allocations: 18.79 MB / 1.447 GB, free: 5.992 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005189/0.5884, allocations: 154.6 kB / 1.447 GB, free: 5.84 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.5931, allocations: 1.269 MB / 1.448 GB, free: 4.562 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01325/0.6064, allocations: 3.959 MB / 1.452 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009158/0.6156, allocations: 3.173 MB / 1.455 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.6274, allocations: 7.323 MB / 1.462 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003965/0.6314, allocations: 1.991 MB / 1.464 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008675/0.6401, allocations: 3.164 MB / 1.467 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005112/0.6452, allocations: 2.174 MB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.6462, allocations: 252 kB / 1.47 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005032/0.6513, allocations: 1.459 MB / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.6524, allocations: 0.7236 MB / 1.472 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/0.6552, allocations: 1.205 MB / 1.473 GB, free: 11.06 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.6639, allocations: 4.457 MB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6639, allocations: 0 / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6639, allocations: 0 / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.867e-05/0.664, allocations: 0 / 1.477 GB, free: 6.586 MB / 1.17 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.006351/0.6703, allocations: 3.202 MB / 1.481 GB, free: 3.332 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.6704, allocations: 15.97 kB / 1.481 GB, free: 3.316 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6715, allocations: 338.3 kB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/0.6767, allocations: 2.143 MB / 1.483 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.6769, allocations: 123 kB / 1.483 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.6772, allocations: 172 kB / 1.483 GB, free: 480 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.6807, allocations: 1.909 MB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.6807, allocations: 3.938 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.6808, allocations: 64 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/0.6809, allocations: 55.91 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.6834, allocations: 1.147 MB / 1.486 GB, free: 13.15 MB / 1.186 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.01162/0.695, allocations: 5.473 MB / 1.492 GB, free: 7.559 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/0.6959, allocations: 446.6 kB / 1.492 GB, free: 7.109 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.6965, allocations: 297.5 kB / 1.492 GB, free: 6.816 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.6969, allocations: 84.36 kB / 1.492 GB, free: 6.734 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.6969, allocations: 43.06 kB / 1.492 GB, free: 6.68 MB / 1.186 GB Notification: Performance of pre-optimization done (n=60): time 3.577e-06/0.6969, allocations: 0 / 1.492 GB, free: 6.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=60): time 0.002403/0.6993, allocations: 0.9759 MB / 1.493 GB, free: 5.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.6994, allocations: 55.91 kB / 1.494 GB, free: 5.633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/0.7029, allocations: 2.076 MB / 1.496 GB, free: 3.531 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.7031, allocations: 45.7 kB / 1.496 GB, free: 3.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.7044, allocations: 1.169 MB / 1.497 GB, free: 2.297 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.7047, allocations: 226.1 kB / 1.497 GB, free: 2.074 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.7051, allocations: 254.8 kB / 1.497 GB, free: 1.816 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.7054, allocations: 345.9 kB / 1.498 GB, free: 1.473 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/0.7063, allocations: 357.9 kB / 1.498 GB, free: 1.121 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.7078, allocations: 1.206 MB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.7095, allocations: 0.9782 MB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.7096, allocations: 4 kB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00299/0.7125, allocations: 1.289 MB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.7126, allocations: 8 kB / 1.501 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7126, allocations: 8 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/0.7126, allocations: 12 kB / 1.501 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7137, allocations: 248.2 kB / 1.502 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.7138, allocations: 27.92 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.7152, allocations: 139.1 kB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7153, allocations: 55.92 kB / 1.502 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001614/0.717, allocations: 0.7563 MB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/0.7184, allocations: 1.191 MB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001815/0.7202, allocations: 0.9523 MB / 1.505 GB, free: 9.465 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.188e-05/0.7202, allocations: 4 kB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002616/0.7228, allocations: 1.24 MB / 1.506 GB, free: 8.211 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.7228, allocations: 13.19 kB / 1.506 GB, free: 8.199 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7228, allocations: 12 kB / 1.506 GB, free: 8.188 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.7228, allocations: 12.28 kB / 1.506 GB, free: 8.176 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.7238, allocations: 247.6 kB / 1.506 GB, free: 7.934 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.7239, allocations: 20.48 kB / 1.506 GB, free: 7.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.7254, allocations: 131.3 kB / 1.506 GB, free: 7.785 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.7254, allocations: 51.98 kB / 1.506 GB, free: 7.734 MB / 1.201 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.0003482/0.7258, allocations: 249.6 kB / 1.506 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.7262, allocations: 222.5 kB / 1.507 GB, free: 7.266 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.7281, allocations: 0.8777 MB / 1.508 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.7293, allocations: 0.6875 MB / 1.508 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.7293, allocations: 0 / 1.508 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/0.7301, allocations: 314.4 kB / 1.509 GB, free: 5.348 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.7304, allocations: 12 kB / 1.509 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00086/0.7312, allocations: 39.94 kB / 1.509 GB, free: 5.297 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7313, allocations: 44.58 kB / 1.509 GB, free: 5.254 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00173/0.7331, allocations: 0.786 MB / 1.509 GB, free: 4.461 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/0.7353, allocations: 1.388 MB / 1.511 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005056/0.7358, allocations: 289.1 kB / 1.511 GB, free: 2.773 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002502/0.7383, allocations: 1.366 MB / 1.512 GB, free: 1.395 MB / 1.201 GB Notification: Performance of Backend: time 8.71e-07/0.7383, allocations: 0 / 1.512 GB, free: 1.395 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006669/0.745, allocations: 1.983 MB / 1.514 GB, free: 15.63 MB / 1.217 GB Notification: Performance of SimCode: time 0.01063/0.7556, allocations: 4.948 MB / 1.519 GB, free: 10.67 MB / 1.217 GB Notification: Performance of Templates: time 0.09265/0.8482, allocations: 52.72 MB / 1.571 GB, free: 6.82 MB / 1.264 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: 12.071127616000012]