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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 109.6 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 183.9 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.738/1.738, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8912/0.8927, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1297/1.022, allocations: 112.7 MB / 1.277 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03325/1.056, allocations: 20.24 MB / 1.297 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/1.06, allocations: 107.3 kB / 1.297 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004018/1.064, allocations: 1.308 MB / 1.298 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.075, allocations: 3.873 MB / 1.302 GB, free: 9.234 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008641/1.084, allocations: 3.128 MB / 1.305 GB, free: 6.145 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01175/1.096, allocations: 7.226 MB / 1.312 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005757/1.102, allocations: 2.565 MB / 1.315 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008182/1.11, allocations: 2.902 MB / 1.318 GB, free: 9.367 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/1.115, allocations: 2.124 MB / 1.32 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001192/1.116, allocations: 259.9 kB / 1.32 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/1.122, allocations: 1.642 MB / 1.322 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/1.124, allocations: 0.6928 MB / 1.322 GB, free: 4.641 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004506/1.128, allocations: 1.512 MB / 1.324 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009201/1.138, allocations: 4.409 MB / 1.328 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.138, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.948e-06/1.138, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001634/1.138, allocations: 3.938 kB / 1.328 GB, free: 14.7 MB / 1.061 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.007654/1.146, allocations: 3.324 MB / 1.331 GB, free: 11.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.146, allocations: 12.88 kB / 1.331 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/1.147, allocations: 338.3 kB / 1.332 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/1.152, allocations: 2.222 MB / 1.334 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.152, allocations: 127 kB / 1.334 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/1.152, allocations: 172 kB / 1.334 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/1.156, allocations: 1.604 MB / 1.336 GB, free: 6.707 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/1.156, allocations: 4 kB / 1.336 GB, free: 6.703 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/1.157, allocations: 63.94 kB / 1.336 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/1.157, allocations: 47.92 kB / 1.336 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/1.159, allocations: 1.147 MB / 1.337 GB, free: 5.441 MB / 1.061 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.01226/1.172, allocations: 7.938 MB / 1.345 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/1.173, allocations: 474 kB / 1.345 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/1.173, allocations: 327 kB / 1.345 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/1.174, allocations: 0.7524 MB / 1.346 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/1.174, allocations: 55 kB / 1.346 GB, free: 11.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/1.174, allocations: 0 / 1.346 GB, free: 11.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=60): time 0.002283/1.176, allocations: 0.9934 MB / 1.347 GB, free: 10.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.176, allocations: 59.97 kB / 1.347 GB, free: 10.15 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/1.18, allocations: 2.339 MB / 1.35 GB, free: 7.801 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/1.18, allocations: 41.7 kB / 1.35 GB, free: 7.754 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/1.182, allocations: 1.179 MB / 1.351 GB, free: 6.566 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/1.182, allocations: 226.1 kB / 1.351 GB, free: 6.344 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/1.182, allocations: 258.7 kB / 1.351 GB, free: 6.082 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.183, allocations: 345.9 kB / 1.352 GB, free: 5.738 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007911/1.183, allocations: 365.8 kB / 1.352 GB, free: 5.379 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/1.185, allocations: 0.7502 MB / 1.353 GB, free: 4.473 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/1.186, allocations: 0.9785 MB / 1.354 GB, free: 3.379 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.186, allocations: 4 kB / 1.354 GB, free: 3.375 MB / 1.076 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002804/1.189, allocations: 1.3 MB / 1.355 GB, free: 2.066 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.189, allocations: 8 kB / 1.355 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.189, allocations: 8 kB / 1.355 GB, free: 2.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/1.189, allocations: 16.72 kB / 1.355 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.19, allocations: 259.6 kB / 1.355 GB, free: 1.781 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/1.19, allocations: 19.94 kB / 1.355 GB, free: 1.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.192, allocations: 158.8 kB / 1.355 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.192, allocations: 56.12 kB / 1.355 GB, free: 1.551 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/1.194, allocations: 0.7602 MB / 1.356 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/1.195, allocations: 0.7387 MB / 1.357 GB, free: 15.89 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/1.197, allocations: 0.9562 MB / 1.358 GB, free: 14.82 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/1.197, allocations: 0 / 1.358 GB, free: 14.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002824/1.2, allocations: 1.275 MB / 1.359 GB, free: 13.54 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.2, allocations: 8 kB / 1.359 GB, free: 13.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.2, allocations: 8 kB / 1.359 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.2, allocations: 20.03 kB / 1.359 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/1.201, allocations: 247.6 kB / 1.359 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/1.201, allocations: 19.92 kB / 1.359 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.203, allocations: 123.4 kB / 1.359 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.203, allocations: 51.98 kB / 1.359 GB, free: 13.07 MB / 1.092 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.0003378/1.203, allocations: 251.9 kB / 1.36 GB, free: 12.81 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006729/1.204, allocations: 250.3 kB / 1.36 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/1.206, allocations: 0.8974 MB / 1.361 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/1.207, allocations: 0.6775 MB / 1.361 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.207, allocations: 4 kB / 1.361 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.208, allocations: 431.2 kB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004802/1.209, allocations: 12 kB / 1.362 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.21, allocations: 47.94 kB / 1.362 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/1.21, allocations: 36.52 kB / 1.362 GB, free: 10.4 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001633/1.212, allocations: 0.7798 MB / 1.363 GB, free: 9.617 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002241/1.214, allocations: 1.4 MB / 1.364 GB, free: 8.199 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004925/1.215, allocations: 320.4 kB / 1.364 GB, free: 7.887 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002767/1.217, allocations: 1.566 MB / 1.366 GB, free: 6.316 MB / 1.092 GB Notification: Performance of Backend: time 3.81e-07/1.217, allocations: 0 / 1.366 GB, free: 6.316 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005787/1.223, allocations: 2.05 MB / 1.368 GB, free: 4.406 MB / 1.092 GB Notification: Performance of SimCode: time 0.01185/1.235, allocations: 5.251 MB / 1.373 GB, free: 15.13 MB / 1.107 GB Notification: Performance of Templates: time 0.08425/1.319, allocations: 48.86 MB / 1.421 GB, free: 14.74 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches