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.00134/0.00134, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001548/0.001548, allocations: 188.8 kB / 22.23 MB, free: 5.137 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.682/1.682, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002297/0.002297, allocations: 67.88 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 160.8 MB / 1.218 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1381/1.165, allocations: 114.6 MB / 1.33 GB, free: 4.215 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03431/1.2, allocations: 20.35 MB / 1.35 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004918/1.205, allocations: 150.7 kB / 1.35 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/1.209, allocations: 1.331 MB / 1.352 GB, free: 14.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/1.223, allocations: 3.929 MB / 1.356 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009203/1.233, allocations: 3.216 MB / 1.359 GB, free: 7.203 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01257/1.245, allocations: 7.387 MB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/1.249, allocations: 1.991 MB / 1.368 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00822/1.258, allocations: 2.941 MB / 1.371 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/1.263, allocations: 2.237 MB / 1.373 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008239/1.263, allocations: 252 kB / 1.373 GB, free: 8.305 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/1.268, allocations: 1.689 MB / 1.375 GB, free: 6.613 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.269, allocations: 0.7198 MB / 1.376 GB, free: 5.891 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002462/1.272, allocations: 1.512 MB / 1.377 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/1.28, allocations: 4.417 MB / 1.381 GB, free: 15.94 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.28, allocations: 0 / 1.381 GB, free: 15.94 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.638e-06/1.28, allocations: 3.984 kB / 1.381 GB, free: 15.94 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000101/1.28, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 1.092 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.006584/1.286, allocations: 3.312 MB / 1.385 GB, free: 12.55 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.286, allocations: 8.031 kB / 1.385 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/1.287, allocations: 342.3 kB / 1.385 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/1.292, allocations: 2.239 MB / 1.387 GB, free: 9.898 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/1.292, allocations: 123 kB / 1.387 GB, free: 9.777 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/1.292, allocations: 168 kB / 1.387 GB, free: 9.613 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003174/1.296, allocations: 1.608 MB / 1.389 GB, free: 7.941 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/1.296, allocations: 4 kB / 1.389 GB, free: 7.938 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.296, allocations: 60 kB / 1.389 GB, free: 7.879 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/1.296, allocations: 47.94 kB / 1.389 GB, free: 7.832 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/1.298, allocations: 1.151 MB / 1.39 GB, free: 6.676 MB / 1.092 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.01492/1.313, allocations: 7.934 MB / 1.398 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.314, allocations: 441.7 kB / 1.398 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/1.315, allocations: 303.3 kB / 1.399 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008575/1.315, allocations: 0.7563 MB / 1.399 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.315, allocations: 50.92 kB / 1.399 GB, free: 12.52 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 2.435e-06/1.315, allocations: 0 / 1.399 GB, free: 12.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.002701/1.318, allocations: 0.9915 MB / 1.4 GB, free: 11.52 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.318, allocations: 59.91 kB / 1.4 GB, free: 11.45 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/1.322, allocations: 2.347 MB / 1.403 GB, free: 9.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002342/1.322, allocations: 49.7 kB / 1.403 GB, free: 9.035 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/1.323, allocations: 1.167 MB / 1.404 GB, free: 7.859 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/1.324, allocations: 222.1 kB / 1.404 GB, free: 7.641 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/1.324, allocations: 262.7 kB / 1.404 GB, free: 7.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.324, allocations: 345.9 kB / 1.405 GB, free: 7.031 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/1.325, allocations: 365.9 kB / 1.405 GB, free: 6.672 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.326, allocations: 0.7462 MB / 1.406 GB, free: 5.77 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.328, allocations: 0.9861 MB / 1.407 GB, free: 4.668 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.328, allocations: 4 kB / 1.407 GB, free: 4.664 MB / 1.107 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002872/1.331, allocations: 1.301 MB / 1.408 GB, free: 3.355 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.331, allocations: 12 kB / 1.408 GB, free: 3.344 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.331, allocations: 12.06 kB / 1.408 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.331, allocations: 12 kB / 1.408 GB, free: 3.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.332, allocations: 247.6 kB / 1.408 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/1.332, allocations: 23.92 kB / 1.408 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.334, allocations: 166.8 kB / 1.408 GB, free: 2.891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.775e-05/1.334, allocations: 51.98 kB / 1.409 GB, free: 2.84 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001573/1.335, allocations: 0.7602 MB / 1.409 GB, free: 2.074 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/1.336, allocations: 0.7348 MB / 1.41 GB, free: 1.184 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001503/1.338, allocations: 0.9562 MB / 1.411 GB, free: 112 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/1.338, allocations: 0 / 1.411 GB, free: 112 kB / 1.107 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00254/1.34, allocations: 1.279 MB / 1.412 GB, free: 14.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.34, allocations: 14.72 kB / 1.412 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.34, allocations: 8 kB / 1.412 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.34, allocations: 16 kB / 1.412 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/1.341, allocations: 251.6 kB / 1.412 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/1.341, allocations: 19.92 kB / 1.412 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.343, allocations: 127.4 kB / 1.413 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/1.343, allocations: 51.98 kB / 1.413 GB, free: 14.34 MB / 1.123 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.0003892/1.343, allocations: 253.8 kB / 1.413 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004264/1.344, allocations: 246.4 kB / 1.413 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/1.346, allocations: 0.8957 MB / 1.414 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.346, allocations: 4 kB / 1.414 GB, free: 12.94 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.346, allocations: 4 kB / 1.414 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/1.347, allocations: 0.6875 MB / 1.415 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/1.351, allocations: 2.595 MB / 1.417 GB, free: 9.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.351, allocations: 0 / 1.417 GB, free: 9.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/1.352, allocations: 135.7 kB / 1.417 GB, free: 9.414 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/1.352, allocations: 4 kB / 1.417 GB, free: 9.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/1.352, allocations: 12 kB / 1.417 GB, free: 9.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/1.352, allocations: 4 kB / 1.417 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.352, allocations: 0 / 1.417 GB, free: 9.395 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/1.354, allocations: 1.341 MB / 1.419 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008952/1.355, allocations: 427.2 kB / 1.419 GB, free: 7.586 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/1.355, allocations: 20 kB / 1.419 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/1.356, allocations: 43.94 kB / 1.419 GB, free: 7.523 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.356, allocations: 48.3 kB / 1.419 GB, free: 7.477 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/1.357, allocations: 35.97 kB / 1.419 GB, free: 7.441 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002431/1.359, allocations: 1.573 MB / 1.421 GB, free: 5.863 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.359, allocations: 4 kB / 1.421 GB, free: 5.859 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002742/1.362, allocations: 1.111 MB / 1.422 GB, free: 4.746 MB / 1.123 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.00218/1.364, allocations: 0.7498 MB / 1.423 GB, free: 4.098 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002609/1.366, allocations: 1.285 MB / 1.424 GB, free: 2.812 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.366, allocations: 0 / 1.424 GB, free: 2.812 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/1.367, allocations: 302.8 kB / 1.424 GB, free: 2.516 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/1.373, allocations: 1.387 MB / 1.425 GB, free: 1.164 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/1.38, allocations: 3.753 MB / 1.429 GB, free: 13.37 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.382, allocations: 1.586 MB / 1.431 GB, free: 11.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002365/1.384, allocations: 0.4948 MB / 1.431 GB, free: 11.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/1.384, allocations: 175.4 kB / 1.431 GB, free: 11.08 MB / 1.139 GB Notification: Performance of SimCode: time 1.132e-06/1.384, allocations: 0 / 1.431 GB, free: 11.08 MB / 1.139 GB Notification: Performance of Templates: time 0.0851/1.47, allocations: 45.68 MB / 1.476 GB, free: 13.93 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.557205975987017]