Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001405/0.001405, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 71.16 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3282, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01701/0.3452, allocations: 15.5 MB / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006927/0.3522, allocations: 4.357 MB / 1.071 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007413/0.3531, allocations: 11.94 kB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3541, allocations: 222.8 kB / 1.072 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.3557, allocations: 0.5482 MB / 1.072 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3575, allocations: 0.634 MB / 1.073 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3591, allocations: 1.306 MB / 1.074 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.3598, allocations: 292 kB / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.3608, allocations: 382.3 kB / 1.075 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.3615, allocations: 330.5 kB / 1.075 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.15e-05/0.3616, allocations: 20 kB / 1.075 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.3629, allocations: 0.6043 MB / 1.076 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3631, allocations: 87.61 kB / 1.076 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.3634, allocations: 218.7 kB / 1.076 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3647, allocations: 0.7361 MB / 1.077 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3647, allocations: 3.938 kB / 1.077 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3647, allocations: 0 / 1.077 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.3647, allocations: 0 / 1.077 GB, free: 15.49 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001483/0.3662, allocations: 0.8339 MB / 1.078 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3662, allocations: 11.97 kB / 1.078 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.3664, allocations: 56.28 kB / 1.078 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.3671, allocations: 421.4 kB / 1.078 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3672, allocations: 20.44 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.3672, allocations: 28 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.3677, allocations: 207.2 kB / 1.078 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3677, allocations: 0 / 1.078 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3678, allocations: 12 kB / 1.078 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3678, allocations: 4 kB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.3682, allocations: 169.6 kB / 1.078 GB, free: 13.66 MB / 0.8419 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.001672/0.3698, allocations: 0.938 MB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3702, allocations: 134.5 kB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3703, allocations: 72.8 kB / 1.08 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.3706, allocations: 340.4 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3707, allocations: 38.5 kB / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3707, allocations: 0 / 1.08 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0006454/0.3713, allocations: 242.3 kB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.3714, allocations: 51.41 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.3719, allocations: 478 kB / 1.081 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3719, allocations: 33.7 kB / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3721, allocations: 228.5 kB / 1.081 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3722, allocations: 47.3 kB / 1.081 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.3723, allocations: 61.62 kB / 1.081 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3724, allocations: 358.7 kB / 1.081 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.3726, allocations: 68.81 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.3729, allocations: 155.6 kB / 1.082 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3733, allocations: 163.5 kB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3733, allocations: 4 kB / 1.082 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005578/0.3739, allocations: 251.2 kB / 1.082 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3739, allocations: 4 kB / 1.082 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3739, allocations: 4 kB / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3739, allocations: 0 / 1.082 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.3742, allocations: 51.97 kB / 1.082 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3742, allocations: 0 / 1.082 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.3746, allocations: 43.81 kB / 1.082 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.3746, allocations: 11.98 kB / 1.082 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002897/0.3749, allocations: 196 kB / 1.082 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002384/0.3751, allocations: 159.9 kB / 1.082 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003218/0.3755, allocations: 170.6 kB / 1.083 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.3755, allocations: 4.188 kB / 1.083 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005209/0.376, allocations: 257 kB / 1.083 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.376, allocations: 7.938 kB / 1.083 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3761, allocations: 4.047 kB / 1.083 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.3761, allocations: 3.984 kB / 1.083 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3763, allocations: 47.91 kB / 1.083 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3763, allocations: 0 / 1.083 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.3767, allocations: 47.86 kB / 1.083 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3767, allocations: 12 kB / 1.083 GB, free: 8.727 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001365/0.3768, allocations: 188.2 kB / 1.083 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.3769, allocations: 43.53 kB / 1.083 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.3775, allocations: 257.1 kB / 1.083 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3775, allocations: 0 / 1.083 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3775, allocations: 3.938 kB / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3775, allocations: 0 / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/0.3785, allocations: 0.7005 MB / 1.084 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3785, allocations: 4 kB / 1.084 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3787, allocations: 31.91 kB / 1.084 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3787, allocations: 4 kB / 1.084 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3787, allocations: 8 kB / 1.084 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3787, allocations: 3.938 kB / 1.084 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3787, allocations: 4 kB / 1.084 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.3792, allocations: 342.5 kB / 1.084 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3794, allocations: 136.5 kB / 1.085 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.3795, allocations: 12 kB / 1.085 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3797, allocations: 23.91 kB / 1.085 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.3798, allocations: 11.98 kB / 1.085 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3798, allocations: 12 kB / 1.085 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003482/0.3801, allocations: 330.9 kB / 1.085 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 0 / 1.085 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006762/0.3808, allocations: 207.6 kB / 1.085 GB, free: 6.309 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001123/0.382, allocations: 489.5 kB / 1.086 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.3826, allocations: 259.7 kB / 1.086 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3826, allocations: 0 / 1.086 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3828, allocations: 83.83 kB / 1.086 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.3841, allocations: 226.1 kB / 1.086 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3854, allocations: 0.8496 MB / 1.087 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.3858, allocations: 0.8272 MB / 1.088 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003585/0.3862, allocations: 95.38 kB / 1.088 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.3863, allocations: 35.44 kB / 1.088 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3863, allocations: 0 / 1.088 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.01553/0.4018, allocations: 8.332 MB / 1.096 GB, free: 11.32 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches