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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0013/0.0013, allocations: 104 kB / 16.35 MB, free: 5.824 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.001345/0.001345, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.451/1.451, 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 11.0.0-master/package.mo): time 2.613/2.613, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 66.78 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3302, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01899/0.3493, allocations: 15.56 MB / 1.042 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007412/0.3567, allocations: 4.338 MB / 1.046 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006747/0.3574, allocations: 15.88 kB / 1.046 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3585, allocations: 254.3 kB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.3603, allocations: 0.6101 MB / 1.047 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.3624, allocations: 0.707 MB / 1.048 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3637, allocations: 1.029 MB / 1.049 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.3641, allocations: 335.8 kB / 1.049 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.3649, allocations: 418.3 kB / 1.049 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.3653, allocations: 338.5 kB / 1.05 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.3654, allocations: 24 kB / 1.05 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.3665, allocations: 0.6278 MB / 1.05 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3666, allocations: 103.5 kB / 1.05 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.3668, allocations: 226.7 kB / 1.051 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009315/0.3678, allocations: 0.7672 MB / 1.051 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3678, allocations: 0 / 1.051 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3678, allocations: 0 / 1.051 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3678, allocations: 0 / 1.051 GB, free: 8.652 MB / 0.8262 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.001219/0.369, allocations: 0.8264 MB / 1.052 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3691, allocations: 16.62 kB / 1.052 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3692, allocations: 60.28 kB / 1.052 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.3699, allocations: 429.4 kB / 1.053 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3699, allocations: 20.44 kB / 1.053 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.37, allocations: 32 kB / 1.053 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.3704, allocations: 211.2 kB / 1.053 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3704, allocations: 0 / 1.053 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.3704, allocations: 8 kB / 1.053 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3704, allocations: 4 kB / 1.053 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.3708, allocations: 165.6 kB / 1.053 GB, free: 6.805 MB / 0.8262 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.001554/0.3724, allocations: 0.9496 MB / 1.054 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3727, allocations: 130.6 kB / 1.054 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.3728, allocations: 72.81 kB / 1.054 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/0.3731, allocations: 336.4 kB / 1.055 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3731, allocations: 34.56 kB / 1.055 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.3731, allocations: 4 kB / 1.055 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006153/0.3738, allocations: 241 kB / 1.055 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3738, allocations: 51.41 kB / 1.055 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.3743, allocations: 474 kB / 1.055 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3743, allocations: 33.7 kB / 1.055 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3745, allocations: 228.6 kB / 1.056 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.3746, allocations: 55.38 kB / 1.056 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.3747, allocations: 53.7 kB / 1.056 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3748, allocations: 358.7 kB / 1.056 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.375, allocations: 68.81 kB / 1.056 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3753, allocations: 157 kB / 1.056 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.3756, allocations: 169.4 kB / 1.056 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3757, allocations: 0 / 1.056 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004989/0.3762, allocations: 253 kB / 1.057 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3762, allocations: 8 kB / 1.057 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3762, allocations: 3.938 kB / 1.057 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3762, allocations: 7.938 kB / 1.057 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.3766, allocations: 39.97 kB / 1.057 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3766, allocations: 4 kB / 1.057 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.3769, allocations: 35.81 kB / 1.057 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.3769, allocations: 12.09 kB / 1.057 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002931/0.3772, allocations: 196 kB / 1.057 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002253/0.3775, allocations: 162.2 kB / 1.057 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003094/0.3778, allocations: 179.5 kB / 1.057 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.3778, allocations: 0 / 1.057 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004781/0.3783, allocations: 253 kB / 1.058 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3783, allocations: 11.98 kB / 1.058 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.3783, allocations: 0 / 1.058 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.3783, allocations: 8.062 kB / 1.058 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3785, allocations: 39.98 kB / 1.058 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3786, allocations: 7.984 kB / 1.058 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.3789, allocations: 39.75 kB / 1.058 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3789, allocations: 8 kB / 1.058 GB, free: 1.871 MB / 0.8262 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.0001355/0.379, allocations: 196.1 kB / 1.058 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.3791, allocations: 43.53 kB / 1.058 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.3797, allocations: 251 kB / 1.058 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3797, allocations: 4 kB / 1.058 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3797, allocations: 0 / 1.058 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3797, allocations: 0 / 1.058 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3808, allocations: 0.7043 MB / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3808, allocations: 0 / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3809, allocations: 35.97 kB / 1.059 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3809, allocations: 0 / 1.059 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.381, allocations: 7.938 kB / 1.059 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.381, allocations: 7.938 kB / 1.059 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.381, allocations: 0 / 1.059 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3815, allocations: 338.4 kB / 1.059 GB, free: 192 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3816, allocations: 136.5 kB / 1.059 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.3817, allocations: 12 kB / 1.059 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.3819, allocations: 11.92 kB / 1.059 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.382, allocations: 19.98 kB / 1.059 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.382, allocations: 7.984 kB / 1.059 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004514/0.3825, allocations: 338.8 kB / 1.06 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3825, allocations: 0 / 1.06 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006885/0.3832, allocations: 191.7 kB / 1.06 GB, free: 15.47 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.001205/0.3844, allocations: 485.7 kB / 1.06 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006585/0.385, allocations: 273.4 kB / 1.061 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3851, allocations: 0 / 1.061 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3852, allocations: 83.89 kB / 1.061 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009241/0.3862, allocations: 204 kB / 1.061 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3875, allocations: 0.7051 MB / 1.062 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3879, allocations: 0.827 MB / 1.062 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.3881, allocations: 95.14 kB / 1.062 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.3882, allocations: 35.42 kB / 1.062 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3882, allocations: 0 / 1.062 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.01659/0.4048, allocations: 8.473 MB / 1.071 GB, free: 4.512 MB / 0.8419 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 -s gbode -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/jenkins1/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