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.002054/0.002054, allocations: 110.1 kB / 16.42 MB, free: 6.496 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.002088/0.002088, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 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.711/2.711, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9556, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1339/1.09, allocations: 112.7 MB / 1.277 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03565/1.125, allocations: 20.24 MB / 1.297 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00562/1.131, allocations: 111.3 kB / 1.297 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004528/1.136, allocations: 1.3 MB / 1.298 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/1.148, allocations: 3.878 MB / 1.302 GB, free: 9.211 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00802/1.156, allocations: 3.118 MB / 1.305 GB, free: 6.129 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01091/1.167, allocations: 7.227 MB / 1.312 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005059/1.172, allocations: 2.573 MB / 1.315 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008447/1.18, allocations: 2.892 MB / 1.318 GB, free: 9.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/1.186, allocations: 2.131 MB / 1.32 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001439/1.187, allocations: 256 kB / 1.32 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/1.194, allocations: 1.65 MB / 1.322 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002306/1.196, allocations: 0.685 MB / 1.322 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005416/1.201, allocations: 1.512 MB / 1.324 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/1.214, allocations: 4.405 MB / 1.328 GB, free: 14.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/1.214, allocations: 0 / 1.328 GB, free: 14.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.857e-06/1.214, allocations: 3.938 kB / 1.328 GB, free: 14.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002018/1.214, allocations: 0 / 1.328 GB, free: 14.68 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.009696/1.223, allocations: 3.324 MB / 1.331 GB, free: 11.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/1.224, allocations: 16.58 kB / 1.331 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/1.225, allocations: 342.3 kB / 1.332 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/1.231, allocations: 2.219 MB / 1.334 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/1.231, allocations: 127 kB / 1.334 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/1.231, allocations: 168 kB / 1.334 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/1.236, allocations: 1.612 MB / 1.336 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/1.236, allocations: 0 / 1.336 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/1.236, allocations: 64 kB / 1.336 GB, free: 6.621 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/1.236, allocations: 47.92 kB / 1.336 GB, free: 6.574 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/1.239, allocations: 1.147 MB / 1.337 GB, free: 5.422 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.01387/1.252, allocations: 7.926 MB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009309/1.253, allocations: 481.9 kB / 1.345 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000557/1.254, allocations: 330.9 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007126/1.255, allocations: 0.7563 MB / 1.346 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/1.255, allocations: 47.06 kB / 1.346 GB, free: 11.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=60): time 3.156e-06/1.255, allocations: 0 / 1.346 GB, free: 11.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=60): time 0.002803/1.258, allocations: 0.9933 MB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/1.258, allocations: 63.95 kB / 1.347 GB, free: 10.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/1.262, allocations: 2.339 MB / 1.35 GB, free: 7.781 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002329/1.263, allocations: 49.7 kB / 1.35 GB, free: 7.727 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.264, allocations: 1.171 MB / 1.351 GB, free: 6.547 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/1.264, allocations: 226.1 kB / 1.351 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/1.265, allocations: 262.7 kB / 1.351 GB, free: 6.059 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.265, allocations: 341.9 kB / 1.352 GB, free: 5.719 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/1.266, allocations: 365.8 kB / 1.352 GB, free: 5.359 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/1.267, allocations: 0.7526 MB / 1.353 GB, free: 4.453 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.269, allocations: 0.9786 MB / 1.354 GB, free: 3.359 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.269, allocations: 7.938 kB / 1.354 GB, free: 3.352 MB / 1.076 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003152/1.272, allocations: 1.3 MB / 1.355 GB, free: 2.043 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.272, allocations: 8 kB / 1.355 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.272, allocations: 12.8 kB / 1.355 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.272, allocations: 12 kB / 1.355 GB, free: 2.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.273, allocations: 259.6 kB / 1.355 GB, free: 1.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-05/1.273, allocations: 19.92 kB / 1.355 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.275, allocations: 162.8 kB / 1.355 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.275, allocations: 55.98 kB / 1.355 GB, free: 1.523 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001654/1.277, allocations: 0.7563 MB / 1.356 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/1.278, allocations: 0.7426 MB / 1.357 GB, free: 15.86 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/1.279, allocations: 0.9524 MB / 1.358 GB, free: 14.79 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/1.279, allocations: 4 kB / 1.358 GB, free: 14.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002642/1.282, allocations: 1.267 MB / 1.359 GB, free: 13.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.282, allocations: 12 kB / 1.359 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.282, allocations: 12.09 kB / 1.359 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.282, allocations: 15.94 kB / 1.359 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/1.283, allocations: 247.6 kB / 1.359 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.589e-05/1.283, allocations: 19.92 kB / 1.359 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.285, allocations: 127.4 kB / 1.359 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/1.285, allocations: 59.98 kB / 1.359 GB, free: 13.03 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.0003099/1.285, allocations: 240 kB / 1.36 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.286, allocations: 254.3 kB / 1.36 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/1.288, allocations: 0.8971 MB / 1.361 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/1.289, allocations: 0.6775 MB / 1.361 GB, free: 10.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.289, allocations: 0 / 1.361 GB, free: 10.92 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/1.29, allocations: 435.2 kB / 1.362 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/1.29, allocations: 11.94 kB / 1.362 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.292, allocations: 47.94 kB / 1.362 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.292, allocations: 36.52 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001484/1.293, allocations: 0.7798 MB / 1.363 GB, free: 9.594 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002144/1.295, allocations: 1.4 MB / 1.364 GB, free: 8.176 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004831/1.296, allocations: 312.4 kB / 1.364 GB, free: 7.871 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002586/1.298, allocations: 1.569 MB / 1.366 GB, free: 6.297 MB / 1.092 GB Notification: Performance of Backend: time 4.51e-07/1.298, allocations: 0 / 1.366 GB, free: 6.297 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005557/1.304, allocations: 2.035 MB / 1.368 GB, free: 4.395 MB / 1.092 GB Notification: Performance of SimCode: time 0.01079/1.315, allocations: 5.258 MB / 1.373 GB, free: 15.11 MB / 1.107 GB Notification: Performance of Templates: time 0.08703/1.402, allocations: 48.87 MB / 1.421 GB, free: 14.72 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