Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001321/0.001321, allocations: 118 kB / 17.13 MB, free: 5.941 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.001331/0.001331, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.522/1.522, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.656/2.656, 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.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_10_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_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.88 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.7808/1.124, allocations: 113.5 MB / 1.325 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03534/1.159, allocations: 20.27 MB / 1.345 GB, free: 9.348 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005706/1.165, allocations: 105.1 kB / 1.345 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/1.17, allocations: 1.319 MB / 1.346 GB, free: 8.516 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01368/1.184, allocations: 3.875 MB / 1.35 GB, free: 6.238 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009572/1.193, allocations: 3.126 MB / 1.353 GB, free: 4.551 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01267/1.206, allocations: 7.2 MB / 1.36 GB, free: 1.074 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/1.21, allocations: 2.105 MB / 1.362 GB, free: 4 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00832/1.218, allocations: 2.9 MB / 1.365 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/1.224, allocations: 2.227 MB / 1.367 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/1.225, allocations: 255.3 kB / 1.367 GB, free: 13.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00608/1.231, allocations: 1.669 MB / 1.369 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/1.233, allocations: 0.714 MB / 1.37 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005021/1.238, allocations: 1.519 MB / 1.371 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01079/1.248, allocations: 4.409 MB / 1.375 GB, free: 7.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.248, allocations: 1.5 kB / 1.375 GB, free: 7.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/1.248, allocations: 4 kB / 1.375 GB, free: 7.727 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001774/1.249, allocations: 0 / 1.375 GB, free: 7.727 MB / 1.045 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.009604/1.258, allocations: 3.334 MB / 1.379 GB, free: 5.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.258, allocations: 13.86 kB / 1.379 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/1.26, allocations: 341 kB / 1.379 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/1.265, allocations: 2.223 MB / 1.381 GB, free: 3.383 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.266, allocations: 124 kB / 1.381 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006107/1.266, allocations: 171.6 kB / 1.381 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.271, allocations: 1.611 MB / 1.383 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/1.271, allocations: 5.312 kB / 1.383 GB, free: 2.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/1.271, allocations: 64 kB / 1.383 GB, free: 2.219 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/1.271, allocations: 42.17 kB / 1.383 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/1.274, allocations: 1.155 MB / 1.384 GB, free: 1.625 MB / 1.045 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.01471/1.289, allocations: 7.927 MB / 1.392 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/1.29, allocations: 446.2 kB / 1.392 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/1.29, allocations: 297.5 kB / 1.393 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007999/1.291, allocations: 0.7584 MB / 1.393 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/1.291, allocations: 44.72 kB / 1.393 GB, free: 9.535 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/1.291, allocations: 0 / 1.393 GB, free: 9.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.002653/1.294, allocations: 0.9941 MB / 1.394 GB, free: 9.027 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/1.294, allocations: 61.53 kB / 1.395 GB, free: 8.961 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/1.298, allocations: 2.349 MB / 1.397 GB, free: 7.711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.00027/1.298, allocations: 43.08 kB / 1.397 GB, free: 7.668 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.3, allocations: 1.169 MB / 1.398 GB, free: 6.637 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/1.3, allocations: 226.8 kB / 1.398 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006072/1.301, allocations: 255.4 kB / 1.398 GB, free: 6.289 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.301, allocations: 348.7 kB / 1.399 GB, free: 5.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/1.302, allocations: 360.1 kB / 1.399 GB, free: 5.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/1.303, allocations: 0.7514 MB / 1.4 GB, free: 5.098 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/1.305, allocations: 0.9856 MB / 1.401 GB, free: 4.371 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.305, allocations: 2.344 kB / 1.401 GB, free: 4.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003215/1.308, allocations: 1.298 MB / 1.402 GB, free: 3.148 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/1.308, allocations: 10.5 kB / 1.402 GB, free: 3.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-05/1.308, allocations: 15.98 kB / 1.402 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.623e-05/1.308, allocations: 16 kB / 1.402 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.309, allocations: 255.6 kB / 1.402 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/1.309, allocations: 15.94 kB / 1.402 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.312, allocations: 166.8 kB / 1.403 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.312, allocations: 55.98 kB / 1.403 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002052/1.314, allocations: 0.7641 MB / 1.403 GB, free: 1.855 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001289/1.315, allocations: 0.7349 MB / 1.404 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001693/1.317, allocations: 0.9447 MB / 1.405 GB, free: 15.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-05/1.317, allocations: 4 kB / 1.405 GB, free: 15.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.003276/1.32, allocations: 1.279 MB / 1.406 GB, free: 14.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.32, allocations: 8 kB / 1.406 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/1.32, allocations: 8 kB / 1.406 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.32, allocations: 12 kB / 1.406 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/1.321, allocations: 247.6 kB / 1.407 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/1.322, allocations: 23.88 kB / 1.407 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.324, allocations: 123.8 kB / 1.407 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.324, allocations: 55.98 kB / 1.407 GB, free: 14.14 MB / 1.076 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.0004009/1.324, allocations: 247.9 kB / 1.407 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008666/1.325, allocations: 254.3 kB / 1.407 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.327, allocations: 0.8897 MB / 1.408 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/1.327, allocations: 8 kB / 1.408 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.327, allocations: 0 / 1.408 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/1.329, allocations: 0.6852 MB / 1.409 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006037/1.335, allocations: 2.59 MB / 1.411 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.335, allocations: 0 / 1.411 GB, free: 9.348 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/1.335, allocations: 127.8 kB / 1.411 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.335, allocations: 4 kB / 1.411 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/1.335, allocations: 19.98 kB / 1.411 GB, free: 9.199 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/1.335, allocations: 4 kB / 1.411 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.335, allocations: 4.094 kB / 1.411 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/1.338, allocations: 1.322 MB / 1.413 GB, free: 7.836 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.339, allocations: 435.3 kB / 1.413 GB, free: 7.391 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006801/1.34, allocations: 12 kB / 1.413 GB, free: 7.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/1.341, allocations: 47.89 kB / 1.413 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.341, allocations: 44.45 kB / 1.413 GB, free: 7.289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.342, allocations: 35.97 kB / 1.413 GB, free: 7.254 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003242/1.345, allocations: 1.569 MB / 1.415 GB, free: 5.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.345, allocations: 4 kB / 1.415 GB, free: 5.676 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004408/1.349, allocations: 1.111 MB / 1.416 GB, free: 4.562 MB / 1.076 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.002601/1.352, allocations: 0.753 MB / 1.417 GB, free: 3.949 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003119/1.355, allocations: 1.277 MB / 1.418 GB, free: 2.676 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.355, allocations: 128 / 1.418 GB, free: 2.676 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/1.356, allocations: 307 kB / 1.418 GB, free: 2.375 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007787/1.363, allocations: 1.38 MB / 1.419 GB, free: 1.043 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/1.372, allocations: 3.826 MB / 1.423 GB, free: 13.16 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/1.374, allocations: 1.578 MB / 1.425 GB, free: 11.55 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/1.375, allocations: 183.4 kB / 1.425 GB, free: 11.38 MB / 1.092 GB Notification: Performance of SimCode: time 1.372e-06/1.375, allocations: 0 / 1.425 GB, free: 11.38 MB / 1.092 GB Notification: Performance of Templates: time 0.07063/1.445, allocations: 40.03 MB / 1.464 GB, free: 3.668 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.993054592050612]