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.001299/0.001299, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001311/0.001311, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.495/1.495, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.709/2.709, allocations: 437.1 MB / 0.7177 GB, free: 4.605 MB / 0.5606 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.002238/0.002238, allocations: 59.91 kB / 1.028 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3363, allocations: 151.6 MB / 1.176 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.7787/1.115, allocations: 112.7 MB / 1.286 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02913/1.144, allocations: 20.24 MB / 1.306 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005523/1.15, allocations: 107.1 kB / 1.306 GB, free: 21.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004969/1.155, allocations: 1.281 MB / 1.307 GB, free: 20.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/1.171, allocations: 3.69 MB / 1.311 GB, free: 18.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009997/1.181, allocations: 3.12 MB / 1.314 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.193, allocations: 7.206 MB / 1.321 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005536/1.199, allocations: 2.573 MB / 1.323 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009886/1.209, allocations: 2.819 MB / 1.326 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/1.214, allocations: 2.121 MB / 1.328 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009803/1.215, allocations: 253.8 kB / 1.328 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005641/1.221, allocations: 1.651 MB / 1.33 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009673/1.222, allocations: 0.698 MB / 1.331 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003247/1.225, allocations: 1.519 MB / 1.332 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008579/1.234, allocations: 4.409 MB / 1.336 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.234, allocations: 1.281 kB / 1.336 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.234, allocations: 0 / 1.336 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001023/1.234, allocations: 0 / 1.336 GB, free: 6.551 MB / 0.9981 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.005645/1.239, allocations: 3.319 MB / 1.34 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.239, allocations: 14.27 kB / 1.34 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/1.24, allocations: 340.7 kB / 1.34 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/1.245, allocations: 2.223 MB / 1.342 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.245, allocations: 124.1 kB / 1.342 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/1.245, allocations: 168.7 kB / 1.342 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/1.248, allocations: 1.612 MB / 1.344 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/1.248, allocations: 1.469 kB / 1.344 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.248, allocations: 62 kB / 1.344 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/1.248, allocations: 51.3 kB / 1.344 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/1.25, allocations: 1.147 MB / 1.345 GB, free: 1.676 MB / 0.9981 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.01361/1.264, allocations: 7.933 MB / 1.353 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/1.265, allocations: 478.8 kB / 1.353 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/1.266, allocations: 328 kB / 1.354 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/1.266, allocations: 0.7522 MB / 1.354 GB, free: 9.992 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/1.266, allocations: 43.94 kB / 1.354 GB, free: 9.945 MB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/1.266, allocations: 0 / 1.354 GB, free: 9.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.00268/1.269, allocations: 1.003 MB / 1.355 GB, free: 9.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.269, allocations: 57.31 kB / 1.355 GB, free: 9.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/1.273, allocations: 2.343 MB / 1.358 GB, free: 8.121 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.273, allocations: 44.58 kB / 1.358 GB, free: 8.078 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/1.274, allocations: 1.166 MB / 1.359 GB, free: 7.051 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/1.275, allocations: 225.6 kB / 1.359 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.275, allocations: 258.9 kB / 1.359 GB, free: 6.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.275, allocations: 352.7 kB / 1.36 GB, free: 6.359 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/1.276, allocations: 361.4 kB / 1.36 GB, free: 6.176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.277, allocations: 0.7435 MB / 1.361 GB, free: 5.516 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.279, allocations: 0.9854 MB / 1.362 GB, free: 4.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.279, allocations: 3.094 kB / 1.362 GB, free: 4.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002716/1.281, allocations: 1.311 MB / 1.363 GB, free: 4.141 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.281, allocations: 7.625 kB / 1.363 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.282, allocations: 10.5 kB / 1.363 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.282, allocations: 14.5 kB / 1.363 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/1.282, allocations: 251.1 kB / 1.363 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.133e-05/1.283, allocations: 16.91 kB / 1.363 GB, free: 4.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.285, allocations: 170.5 kB / 1.364 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.285, allocations: 56.17 kB / 1.364 GB, free: 3.945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001802/1.287, allocations: 0.758 MB / 1.364 GB, free: 3.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001156/1.288, allocations: 0.7437 MB / 1.365 GB, free: 2.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/1.289, allocations: 0.9429 MB / 1.366 GB, free: 2.125 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/1.289, allocations: 2.438 kB / 1.366 GB, free: 2.125 MB / 1.014 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002827/1.292, allocations: 1.269 MB / 1.367 GB, free: 1.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.292, allocations: 12.41 kB / 1.367 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.292, allocations: 7.344 kB / 1.367 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.292, allocations: 18.64 kB / 1.367 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/1.293, allocations: 254.5 kB / 1.367 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/1.293, allocations: 18.28 kB / 1.368 GB, free: 1.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.295, allocations: 129.2 kB / 1.368 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/1.296, allocations: 52.05 kB / 1.368 GB, free: 1.312 MB / 1.014 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.0003966/1.296, allocations: 243.5 kB / 1.368 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/1.297, allocations: 246.8 kB / 1.368 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.299, allocations: 0.8938 MB / 1.369 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.299, allocations: 8.875 kB / 1.369 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.299, allocations: 0 / 1.369 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/1.3, allocations: 0.6871 MB / 1.37 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006091/1.306, allocations: 2.581 MB / 1.372 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/1.306, allocations: 2.5 kB / 1.372 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/1.307, allocations: 123.6 kB / 1.372 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.307, allocations: 6.969 kB / 1.372 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/1.307, allocations: 20.33 kB / 1.372 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.307, allocations: 2.469 kB / 1.372 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.307, allocations: 3.938 kB / 1.372 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.31, allocations: 1.327 MB / 1.374 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.311, allocations: 431 kB / 1.374 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008014/1.312, allocations: 13.81 kB / 1.374 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.313, allocations: 42.98 kB / 1.374 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.313, allocations: 47.47 kB / 1.374 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/1.314, allocations: 38.06 kB / 1.374 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003279/1.317, allocations: 1.568 MB / 1.376 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.525e-06/1.317, allocations: 0 / 1.376 GB, free: 12.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004952/1.322, allocations: 1.12 MB / 1.377 GB, free: 11.73 MB / 1.029 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.002662/1.325, allocations: 0.7652 MB / 1.378 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003139/1.328, allocations: 1.355 MB / 1.379 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.328, allocations: 0 / 1.379 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/1.328, allocations: 327 kB / 1.379 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007771/1.336, allocations: 1.377 MB / 1.381 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/1.344, allocations: 3.803 MB / 1.384 GB, free: 4.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/1.346, allocations: 1.586 MB / 1.386 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/1.347, allocations: 187.3 kB / 1.386 GB, free: 2.469 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/1.347, allocations: 0 / 1.386 GB, free: 2.469 MB / 1.029 GB Notification: Performance of Templates: time 0.07066/1.417, allocations: 39.84 MB / 1.425 GB, free: 10.95 MB / 1.076 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: 19.854189013014548]