Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 92.31 kB / 16.02 MB, free: 80 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.001469/0.001469, allocations: 177.9 kB / 16.92 MB, free: 6.652 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: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 12 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7274, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02129/0.7487, allocations: 16.87 MB / 1.04 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007935/0.7567, allocations: 4.852 MB / 1.045 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007418/0.7575, allocations: 11.94 kB / 1.045 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.7586, allocations: 218.9 kB / 1.045 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.7605, allocations: 0.5599 MB / 1.046 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.7627, allocations: 0.6477 MB / 1.046 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.7645, allocations: 1.267 MB / 1.048 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.7652, allocations: 283.1 kB / 1.048 GB, free: 7.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008839/0.7661, allocations: 370.4 kB / 1.048 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.7667, allocations: 310.5 kB / 1.048 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.7668, allocations: 20 kB / 1.048 GB, free: 6.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.7682, allocations: 0.69 MB / 1.049 GB, free: 5.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.7684, allocations: 119.6 kB / 1.049 GB, free: 5.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.7688, allocations: 256.3 kB / 1.05 GB, free: 5.387 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.7698, allocations: 0.6157 MB / 1.05 GB, free: 4.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7698, allocations: 0 / 1.05 GB, free: 4.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7698, allocations: 0 / 1.05 GB, free: 4.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.7698, allocations: 0 / 1.05 GB, free: 4.77 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001438/0.7713, allocations: 0.7942 MB / 1.051 GB, free: 3.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7713, allocations: 8.031 kB / 1.051 GB, free: 3.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.7715, allocations: 64.27 kB / 1.051 GB, free: 3.855 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.7723, allocations: 441.7 kB / 1.051 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.7723, allocations: 24.5 kB / 1.051 GB, free: 3.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.7724, allocations: 28 kB / 1.051 GB, free: 3.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.773, allocations: 294.2 kB / 1.052 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.773, allocations: 3.984 kB / 1.052 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.773, allocations: 11.94 kB / 1.052 GB, free: 3.012 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7731, allocations: 8 kB / 1.052 GB, free: 3.004 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.7735, allocations: 210 kB / 1.052 GB, free: 2.797 MB / 0.795 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.002109/0.7756, allocations: 1.472 MB / 1.053 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.776, allocations: 170.8 kB / 1.054 GB, free: 1.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.7762, allocations: 84.81 kB / 1.054 GB, free: 0.957 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.778, allocations: 1.288 MB / 1.055 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.778, allocations: 42.5 kB / 1.055 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.778, allocations: 0 / 1.055 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0006846/0.7787, allocations: 273 kB / 1.055 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.7788, allocations: 55.41 kB / 1.055 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007764/0.7796, allocations: 0.5809 MB / 1.056 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.7796, allocations: 29.7 kB / 1.056 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.7798, allocations: 276 kB / 1.056 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.7799, allocations: 51.3 kB / 1.056 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.78, allocations: 29.7 kB / 1.056 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7801, allocations: 358.8 kB / 1.056 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.7803, allocations: 80.52 kB / 1.057 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.7807, allocations: 217 kB / 1.057 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.7812, allocations: 258.8 kB / 1.057 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7812, allocations: 0 / 1.057 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006401/0.7818, allocations: 322.2 kB / 1.057 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.7819, allocations: 161.5 kB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.782, allocations: 4 kB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.782, allocations: 7.984 kB / 1.058 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.7822, allocations: 67.91 kB / 1.058 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.7823, allocations: 4 kB / 1.058 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.7827, allocations: 51.66 kB / 1.058 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.7827, allocations: 12 kB / 1.058 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.7827, allocations: 6.188 kB / 1.058 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005333/0.7833, allocations: 245.5 kB / 1.058 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.7833, allocations: 7.984 kB / 1.058 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.7833, allocations: 4 kB / 1.058 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.7835, allocations: 71.83 kB / 1.058 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7835, allocations: 7.938 kB / 1.058 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.7839, allocations: 44.02 kB / 1.058 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.784, allocations: 19.98 kB / 1.058 GB, free: 12.06 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002397/0.7842, allocations: 261.1 kB / 1.058 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.7843, allocations: 51.28 kB / 1.058 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.7849, allocations: 273.6 kB / 1.059 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.7849, allocations: 4 kB / 1.059 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7849, allocations: 0 / 1.059 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7849, allocations: 0 / 1.059 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.7861, allocations: 0.7473 MB / 1.059 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7861, allocations: 4.125 kB / 1.059 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.7863, allocations: 39.91 kB / 1.059 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7863, allocations: 0 / 1.059 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.7863, allocations: 4 kB / 1.059 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7863, allocations: 4 kB / 1.059 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.7863, allocations: 0 / 1.059 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.7869, allocations: 368.5 kB / 1.06 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.7871, allocations: 156.5 kB / 1.06 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.7872, allocations: 8 kB / 1.06 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.7874, allocations: 23.83 kB / 1.06 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.7875, allocations: 15.98 kB / 1.06 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.7875, allocations: 8.172 kB / 1.06 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005146/0.788, allocations: 422.8 kB / 1.06 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.788, allocations: 4 kB / 1.06 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008396/0.7889, allocations: 227.6 kB / 1.061 GB, free: 9.348 MB / 0.8106 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 (17): * Single equations (assignments): 15 * 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.001221/0.7901, allocations: 494.8 kB / 1.061 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007525/0.7908, allocations: 339.9 kB / 1.061 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7909, allocations: 0 / 1.061 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.7911, allocations: 88.7 kB / 1.061 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7926, allocations: 252.5 kB / 1.062 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.7942, allocations: 1.015 MB / 1.063 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.7947, allocations: 0.8468 MB / 1.063 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.7948, allocations: 39.44 kB / 1.064 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.7948, allocations: 0 / 1.064 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of Templates: time 0.0152/0.81, allocations: 8.497 MB / 1.072 GB, free: 13.94 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches