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.001923/0.001923, allocations: 115.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.002265/0.002265, allocations: 193.2 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.547/1.547, 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.786/2.786, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002037/0.002037, allocations: 67.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9545/0.9565, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1529/1.109, allocations: 114.6 MB / 1.386 GB, free: 1.551 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03966/1.149, allocations: 20.35 MB / 1.406 GB, free: 13.16 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006064/1.155, allocations: 107.3 kB / 1.406 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005086/1.16, allocations: 1.32 MB / 1.407 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/1.173, allocations: 3.863 MB / 1.411 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008992/1.182, allocations: 3.168 MB / 1.414 GB, free: 4.719 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01627/1.199, allocations: 7.23 MB / 1.421 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004405/1.203, allocations: 1.99 MB / 1.423 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0088/1.212, allocations: 2.891 MB / 1.426 GB, free: 8.52 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005388/1.217, allocations: 2.237 MB / 1.428 GB, free: 6.273 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0008894/1.218, allocations: 252 kB / 1.428 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005005/1.223, allocations: 1.669 MB / 1.43 GB, free: 4.355 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/1.224, allocations: 0.7275 MB / 1.431 GB, free: 3.625 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002871/1.227, allocations: 1.508 MB / 1.432 GB, free: 2.109 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008698/1.236, allocations: 4.41 MB / 1.436 GB, free: 13.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.236, allocations: 3.938 kB / 1.436 GB, free: 13.68 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.405e-06/1.236, allocations: 0 / 1.436 GB, free: 13.68 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001251/1.236, allocations: 0 / 1.436 GB, free: 13.68 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.007278/1.243, allocations: 3.316 MB / 1.44 GB, free: 10.29 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.243, allocations: 15.97 kB / 1.44 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/1.244, allocations: 346.2 kB / 1.44 GB, free: 9.938 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/1.249, allocations: 2.219 MB / 1.442 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/1.249, allocations: 127 kB / 1.442 GB, free: 7.523 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/1.249, allocations: 168 kB / 1.443 GB, free: 7.359 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.252, allocations: 1.616 MB / 1.444 GB, free: 5.68 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/1.252, allocations: 0 / 1.444 GB, free: 5.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/1.253, allocations: 67.94 kB / 1.444 GB, free: 5.613 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/1.253, allocations: 43.94 kB / 1.444 GB, free: 5.57 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/1.255, allocations: 1.147 MB / 1.445 GB, free: 4.418 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.01368/1.268, allocations: 7.93 MB / 1.453 GB, free: 11.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/1.269, allocations: 445.9 kB / 1.453 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/1.27, allocations: 303 kB / 1.454 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008858/1.271, allocations: 0.7485 MB / 1.455 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.271, allocations: 43.12 kB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=60): time 3.787e-06/1.271, allocations: 0 / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=60): time 0.002673/1.273, allocations: 1.001 MB / 1.456 GB, free: 9.262 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/1.274, allocations: 55.97 kB / 1.456 GB, free: 9.195 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/1.277, allocations: 2.347 MB / 1.458 GB, free: 6.836 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/1.277, allocations: 41.7 kB / 1.458 GB, free: 6.789 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.279, allocations: 1.167 MB / 1.459 GB, free: 5.613 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/1.279, allocations: 230.1 kB / 1.459 GB, free: 5.387 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003926/1.279, allocations: 254.8 kB / 1.46 GB, free: 5.133 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.279, allocations: 353.9 kB / 1.46 GB, free: 4.781 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/1.28, allocations: 357.9 kB / 1.46 GB, free: 4.426 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.281, allocations: 0.7502 MB / 1.461 GB, free: 3.516 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/1.283, allocations: 0.9824 MB / 1.462 GB, free: 2.418 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.283, allocations: 0 / 1.462 GB, free: 2.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002906/1.286, allocations: 1.308 MB / 1.463 GB, free: 1.105 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.286, allocations: 14.44 kB / 1.463 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.286, allocations: 8 kB / 1.463 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/1.286, allocations: 16 kB / 1.463 GB, free: 1.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.287, allocations: 251.6 kB / 1.463 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.97e-05/1.287, allocations: 23.92 kB / 1.463 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.289, allocations: 159.1 kB / 1.464 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/1.289, allocations: 55.98 kB / 1.464 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/1.29, allocations: 0.7603 MB / 1.464 GB, free: 15.82 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001015/1.291, allocations: 0.7387 MB / 1.465 GB, free: 14.92 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/1.293, allocations: 0.9445 MB / 1.466 GB, free: 13.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.933e-06/1.293, allocations: 4 kB / 1.466 GB, free: 13.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002631/1.296, allocations: 1.279 MB / 1.467 GB, free: 12.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.296, allocations: 11.94 kB / 1.467 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.296, allocations: 8 kB / 1.467 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.296, allocations: 16 kB / 1.467 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/1.297, allocations: 243.6 kB / 1.468 GB, free: 12.29 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/1.297, allocations: 19.94 kB / 1.468 GB, free: 12.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.298, allocations: 139.8 kB / 1.468 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/1.298, allocations: 48 kB / 1.468 GB, free: 12.09 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.000444/1.299, allocations: 255.9 kB / 1.468 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/1.299, allocations: 246.4 kB / 1.468 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.301, allocations: 0.8834 MB / 1.469 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.301, allocations: 15.98 kB / 1.469 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.301, allocations: 0 / 1.469 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.302, allocations: 0.6814 MB / 1.47 GB, free: 9.965 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004425/1.307, allocations: 2.586 MB / 1.472 GB, free: 7.305 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.307, allocations: 240 / 1.472 GB, free: 7.305 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/1.307, allocations: 127.9 kB / 1.472 GB, free: 7.18 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.307, allocations: 4.094 kB / 1.472 GB, free: 7.176 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/1.307, allocations: 19.94 kB / 1.472 GB, free: 7.156 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/1.307, allocations: 4 kB / 1.472 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.307, allocations: 3.984 kB / 1.472 GB, free: 7.148 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.31, allocations: 1.326 MB / 1.474 GB, free: 5.793 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/1.311, allocations: 435.2 kB / 1.474 GB, free: 5.348 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/1.311, allocations: 12 kB / 1.474 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/1.312, allocations: 43.94 kB / 1.474 GB, free: 5.293 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.312, allocations: 56.38 kB / 1.474 GB, free: 5.238 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/1.312, allocations: 27.98 kB / 1.474 GB, free: 5.211 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002417/1.314, allocations: 1.569 MB / 1.476 GB, free: 3.637 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.314, allocations: 0 / 1.476 GB, free: 3.637 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003082/1.317, allocations: 1.119 MB / 1.477 GB, free: 2.516 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.002335/1.32, allocations: 0.7513 MB / 1.478 GB, free: 1.902 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002795/1.323, allocations: 1.288 MB / 1.479 GB, free: 0.625 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.323, allocations: 4 kB / 1.479 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005702/1.323, allocations: 299 kB / 1.479 GB, free: 332 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006511/1.33, allocations: 1.386 MB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009163/1.339, allocations: 3.754 MB / 1.484 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/1.34, allocations: 1.594 MB / 1.486 GB, free: 9.555 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002509/1.343, allocations: 0.4962 MB / 1.486 GB, free: 9.055 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/1.343, allocations: 175.4 kB / 1.486 GB, free: 8.883 MB / 1.186 GB Notification: Performance of SimCode: time 1.914e-06/1.343, allocations: 0 / 1.486 GB, free: 8.883 MB / 1.186 GB Notification: Performance of Templates: time 0.08395/1.427, allocations: 45.41 MB / 1.531 GB, free: 12.07 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 gbode -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: 10.980869644787163]