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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001614/0.001614, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7452 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002009, allocations: 65.52 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01645/0.3791, allocations: 15.54 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006243/0.3854, allocations: 4.338 MB / 1.088 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.3859, allocations: 15.88 kB / 1.088 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.3868, allocations: 262.3 kB / 1.088 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.3881, allocations: 0.6023 MB / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3898, allocations: 0.702 MB / 1.089 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.391, allocations: 1.033 MB / 1.09 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.3916, allocations: 332.1 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.3923, allocations: 418.3 kB / 1.091 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.3927, allocations: 322.6 kB / 1.091 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.464e-05/0.3928, allocations: 28 kB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.394, allocations: 0.6239 MB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3942, allocations: 111.5 kB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.3944, allocations: 230.7 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009917/0.3954, allocations: 0.7555 MB / 1.093 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3954, allocations: 0 / 1.093 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3954, allocations: 0 / 1.093 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3954, allocations: 0 / 1.093 GB, free: 1.043 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.00126/0.3967, allocations: 0.823 MB / 1.094 GB, free: 176 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3968, allocations: 16.02 kB / 1.094 GB, free: 160 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3969, allocations: 52.28 kB / 1.094 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.3975, allocations: 417.4 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3975, allocations: 24.38 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3976, allocations: 31.98 kB / 1.094 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.398, allocations: 215.2 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.398, allocations: 0 / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.3981, allocations: 12 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3981, allocations: 8 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.3985, allocations: 161.6 kB / 1.095 GB, free: 15.21 MB / 0.8575 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.001718/0.4002, allocations: 0.9534 MB / 1.096 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.4005, allocations: 134.5 kB / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4007, allocations: 72.81 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.401, allocations: 336.4 kB / 1.096 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.4011, allocations: 34.56 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.4011, allocations: 0 / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.000622/0.4017, allocations: 236.2 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4018, allocations: 71.27 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.4023, allocations: 474 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4023, allocations: 29.7 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.4025, allocations: 224.6 kB / 1.097 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4025, allocations: 51.38 kB / 1.097 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.4027, allocations: 61.59 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4028, allocations: 350.7 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.403, allocations: 80.81 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.4033, allocations: 149.7 kB / 1.098 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.4037, allocations: 168.1 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4037, allocations: 0 / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005112/0.4042, allocations: 250.3 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4042, allocations: 4 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4042, allocations: 0 / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4043, allocations: 7.984 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.4045, allocations: 51.91 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4045, allocations: 3.984 kB / 1.098 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.4049, allocations: 35.73 kB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.4049, allocations: 16.06 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000306/0.4052, allocations: 201.4 kB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002517/0.4055, allocations: 156.2 kB / 1.099 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003317/0.4058, allocations: 168.1 kB / 1.099 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.4058, allocations: 3.938 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004923/0.4063, allocations: 257.1 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.4064, allocations: 4 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.4064, allocations: 0 / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.4064, allocations: 4 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4066, allocations: 47.91 kB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.4066, allocations: 0 / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.4069, allocations: 35.88 kB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4069, allocations: 16 kB / 1.099 GB, free: 10.28 MB / 0.8575 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.0001151/0.4071, allocations: 196.1 kB / 1.099 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.4071, allocations: 43.44 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.4077, allocations: 250.6 kB / 1.1 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4077, allocations: 8 kB / 1.1 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4077, allocations: 4 kB / 1.1 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4077, allocations: 3.984 kB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009689/0.4087, allocations: 0.6993 MB / 1.1 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4087, allocations: 4.125 kB / 1.1 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4088, allocations: 27.98 kB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4089, allocations: 4 kB / 1.1 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4089, allocations: 4 kB / 1.1 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4089, allocations: 7.938 kB / 1.1 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4089, allocations: 0 / 1.1 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.4094, allocations: 343.7 kB / 1.101 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4095, allocations: 136.5 kB / 1.101 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.4096, allocations: 11.98 kB / 1.101 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4098, allocations: 11.92 kB / 1.101 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4098, allocations: 19.98 kB / 1.101 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.4099, allocations: 4 kB / 1.101 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003586/0.4102, allocations: 334.9 kB / 1.101 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.773e-06/0.4102, allocations: 0 / 1.101 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007047/0.4109, allocations: 207.6 kB / 1.101 GB, free: 7.867 MB / 0.8575 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.001073/0.412, allocations: 481.5 kB / 1.102 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.4127, allocations: 271.7 kB / 1.102 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4127, allocations: 4.125 kB / 1.102 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4129, allocations: 91.88 kB / 1.102 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.414, allocations: 192.7 kB / 1.102 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4152, allocations: 0.7274 MB / 1.103 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4155, allocations: 0.8308 MB / 1.104 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.4158, allocations: 91.5 kB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.4159, allocations: 31.44 kB / 1.104 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.4159, allocations: 0 / 1.104 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.01697/0.4329, allocations: 8.481 MB / 1.112 GB, free: 12.89 MB / 0.8731 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