Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.00173/0.00173, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002063/0.002063, allocations: 193.1 kB / 22.17 MB, free: 5.656 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.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.967/2.967, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8428, allocations: 168.7 MB / 1.274 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1319/0.9747, allocations: 114.6 MB / 1.386 GB, free: 1.438 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03831/1.013, allocations: 20.35 MB / 1.406 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004555/1.018, allocations: 107.4 kB / 1.406 GB, free: 12.94 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004682/1.022, allocations: 1.32 MB / 1.407 GB, free: 11.61 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/1.034, allocations: 3.877 MB / 1.411 GB, free: 7.719 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008595/1.042, allocations: 3.16 MB / 1.414 GB, free: 4.594 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.013/1.055, allocations: 7.235 MB / 1.421 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/1.059, allocations: 1.986 MB / 1.423 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008026/1.067, allocations: 2.907 MB / 1.426 GB, free: 8.383 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/1.072, allocations: 2.229 MB / 1.428 GB, free: 6.145 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/1.073, allocations: 252 kB / 1.428 GB, free: 5.898 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/1.079, allocations: 1.677 MB / 1.43 GB, free: 4.219 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/1.08, allocations: 0.7197 MB / 1.431 GB, free: 3.496 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002813/1.083, allocations: 1.512 MB / 1.432 GB, free: 1.977 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008284/1.091, allocations: 4.414 MB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.091, allocations: 0 / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.733e-06/1.091, allocations: 0 / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001341/1.091, allocations: 0 / 1.437 GB, free: 13.55 MB / 1.139 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.007318/1.099, allocations: 3.316 MB / 1.44 GB, free: 10.16 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.099, allocations: 8.031 kB / 1.44 GB, free: 10.15 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/1.1, allocations: 346.3 kB / 1.44 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/1.104, allocations: 2.219 MB / 1.442 GB, free: 7.523 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.105, allocations: 127 kB / 1.442 GB, free: 7.398 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/1.105, allocations: 171.9 kB / 1.443 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/1.108, allocations: 1.608 MB / 1.444 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/1.108, allocations: 0 / 1.444 GB, free: 5.559 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.108, allocations: 68 kB / 1.444 GB, free: 5.492 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.358e-05/1.108, allocations: 47.92 kB / 1.444 GB, free: 5.445 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/1.11, allocations: 1.147 MB / 1.445 GB, free: 4.293 MB / 1.139 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.01305/1.124, allocations: 7.934 MB / 1.453 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/1.124, allocations: 438 kB / 1.453 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/1.125, allocations: 295 kB / 1.454 GB, free: 11.12 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/1.126, allocations: 0.7524 MB / 1.455 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/1.126, allocations: 47.06 kB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of pre-optimization done (n=60): time 5.109e-06/1.126, allocations: 7.984 kB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=60): time 0.002602/1.128, allocations: 0.9934 MB / 1.456 GB, free: 9.141 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/1.128, allocations: 63.91 kB / 1.456 GB, free: 9.066 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005397/1.134, allocations: 2.339 MB / 1.458 GB, free: 6.715 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/1.134, allocations: 45.7 kB / 1.458 GB, free: 6.664 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.136, allocations: 1.167 MB / 1.459 GB, free: 5.488 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/1.136, allocations: 226.1 kB / 1.459 GB, free: 5.266 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000581/1.137, allocations: 262.7 kB / 1.46 GB, free: 5.004 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.137, allocations: 345.9 kB / 1.46 GB, free: 4.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.138, allocations: 365.9 kB / 1.46 GB, free: 4.297 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.14, allocations: 0.7502 MB / 1.461 GB, free: 3.387 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/1.142, allocations: 0.9785 MB / 1.462 GB, free: 2.293 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/1.142, allocations: 4 kB / 1.462 GB, free: 2.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004521/1.147, allocations: 1.304 MB / 1.463 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/1.147, allocations: 12 kB / 1.463 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/1.147, allocations: 8 kB / 1.463 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.245e-05/1.147, allocations: 12 kB / 1.463 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.149, allocations: 247.6 kB / 1.463 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-05/1.149, allocations: 24.39 kB / 1.463 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.151, allocations: 166.9 kB / 1.464 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/1.152, allocations: 51.98 kB / 1.464 GB, free: 480 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002882/1.154, allocations: 0.7564 MB / 1.464 GB, free: 15.7 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001726/1.156, allocations: 0.7387 MB / 1.465 GB, free: 14.8 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002493/1.159, allocations: 0.9563 MB / 1.466 GB, free: 13.73 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-05/1.159, allocations: 4 kB / 1.466 GB, free: 13.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.004238/1.163, allocations: 1.271 MB / 1.467 GB, free: 12.45 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/1.163, allocations: 8 kB / 1.467 GB, free: 12.44 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.163, allocations: 8 kB / 1.467 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.838e-05/1.163, allocations: 16.75 kB / 1.467 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.165, allocations: 247.6 kB / 1.468 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/1.165, allocations: 23.92 kB / 1.468 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.168, allocations: 131.3 kB / 1.468 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.168, allocations: 55.98 kB / 1.468 GB, free: 11.96 MB / 1.17 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.0005547/1.168, allocations: 247.9 kB / 1.468 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.17, allocations: 250.4 kB / 1.468 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/1.173, allocations: 0.8857 MB / 1.469 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.173, allocations: 8 kB / 1.469 GB, free: 10.56 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.173, allocations: 4 kB / 1.469 GB, free: 10.56 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001703/1.175, allocations: 0.6814 MB / 1.47 GB, free: 9.844 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008502/1.183, allocations: 2.586 MB / 1.472 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.183, allocations: 4.094 kB / 1.472 GB, free: 7.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/1.184, allocations: 131.8 kB / 1.472 GB, free: 7.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/1.184, allocations: 4 kB / 1.472 GB, free: 7.047 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/1.184, allocations: 12 kB / 1.472 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/1.184, allocations: 15.86 kB / 1.472 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.184, allocations: 0 / 1.472 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/1.188, allocations: 1.326 MB / 1.474 GB, free: 5.664 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.189, allocations: 431.2 kB / 1.474 GB, free: 5.223 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008105/1.19, allocations: 15.98 kB / 1.474 GB, free: 5.207 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.192, allocations: 47.95 kB / 1.474 GB, free: 5.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.192, allocations: 44.44 kB / 1.474 GB, free: 5.117 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.193, allocations: 35.97 kB / 1.474 GB, free: 5.082 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.004586/1.197, allocations: 1.566 MB / 1.476 GB, free: 3.512 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.11e-07/1.197, allocations: 0 / 1.476 GB, free: 3.512 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004626/1.202, allocations: 1.119 MB / 1.477 GB, free: 2.391 MB / 1.17 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.002503/1.204, allocations: 0.7484 MB / 1.478 GB, free: 1.785 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002916/1.207, allocations: 1.284 MB / 1.479 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.207, allocations: 0 / 1.479 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/1.208, allocations: 304.4 kB / 1.479 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006845/1.215, allocations: 1.395 MB / 1.481 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/1.222, allocations: 3.758 MB / 1.484 GB, free: 11.05 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.224, allocations: 1.59 MB / 1.486 GB, free: 9.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002314/1.226, allocations: 496.5 kB / 1.486 GB, free: 8.941 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/1.227, allocations: 179.4 kB / 1.486 GB, free: 8.766 MB / 1.186 GB Notification: Performance of SimCode: time 1.182e-06/1.227, allocations: 0 / 1.486 GB, free: 8.766 MB / 1.186 GB Notification: Performance of Templates: time 0.1025/1.329, allocations: 45.42 MB / 1.531 GB, free: 11.95 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.098960105329752]