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.001172/0.001172, allocations: 106.9 kB / 16.27 MB, free: 6.355 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.001106/0.001106, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 58.66 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3018, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.4741/0.776, allocations: 15.53 MB / 1.079 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005743/0.7817, allocations: 4.33 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.7822, allocations: 15.12 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.783, allocations: 268.4 kB / 1.084 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.7845, allocations: 0.5977 MB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.7862, allocations: 0.7014 MB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.7874, allocations: 1.027 MB / 1.086 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.7878, allocations: 347.9 kB / 1.086 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.7885, allocations: 416.1 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.7889, allocations: 320.7 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.7889, allocations: 27 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.7901, allocations: 0.6301 MB / 1.088 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.7903, allocations: 106.6 kB / 1.088 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.7905, allocations: 220.2 kB / 1.088 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.7915, allocations: 0.7547 MB / 1.089 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7915, allocations: 0.6094 kB / 1.089 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7915, allocations: 0.9688 kB / 1.089 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7916, allocations: 3.938 kB / 1.089 GB, free: 9.75 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.001063/0.7926, allocations: 0.834 MB / 1.09 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.7927, allocations: 8.969 kB / 1.09 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.7928, allocations: 55.22 kB / 1.09 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.7933, allocations: 412.8 kB / 1.09 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.7933, allocations: 20.22 kB / 1.09 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.7933, allocations: 27.44 kB / 1.09 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.7937, allocations: 213.7 kB / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7938, allocations: 0 / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.7938, allocations: 11.03 kB / 1.09 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.7938, allocations: 11.06 kB / 1.09 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.7942, allocations: 160.2 kB / 1.091 GB, free: 8.836 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.001418/0.7956, allocations: 0.9513 MB / 1.092 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.7959, allocations: 128 kB / 1.092 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.796, allocations: 77.17 kB / 1.092 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.7962, allocations: 338.8 kB / 1.092 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.7962, allocations: 39.75 kB / 1.092 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.7963, allocations: 1.156 kB / 1.092 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0005832/0.7968, allocations: 240.2 kB / 1.092 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.7969, allocations: 53.53 kB / 1.092 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.7974, allocations: 475.5 kB / 1.093 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.7974, allocations: 32.05 kB / 1.093 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.7975, allocations: 236 kB / 1.093 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.7976, allocations: 45.69 kB / 1.093 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.7976, allocations: 61.34 kB / 1.093 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.7977, allocations: 353.8 kB / 1.094 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.7979, allocations: 80.14 kB / 1.094 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.7981, allocations: 151.3 kB / 1.094 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.7985, allocations: 165.4 kB / 1.094 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7985, allocations: 4 kB / 1.094 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004894/0.799, allocations: 249.5 kB / 1.094 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.799, allocations: 6.688 kB / 1.094 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.799, allocations: 1.062 kB / 1.094 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.799, allocations: 1.438 kB / 1.094 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.7993, allocations: 50.89 kB / 1.094 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.7993, allocations: 2.156 kB / 1.094 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.7996, allocations: 39.84 kB / 1.094 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.7996, allocations: 9.156 kB / 1.094 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002714/0.7999, allocations: 194.6 kB / 1.094 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002283/0.8002, allocations: 163.5 kB / 1.095 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003327/0.8005, allocations: 163.8 kB / 1.095 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.8005, allocations: 3.938 kB / 1.095 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004967/0.801, allocations: 262.7 kB / 1.095 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.801, allocations: 5.562 kB / 1.095 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.801, allocations: 1.562 kB / 1.095 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.801, allocations: 6.359 kB / 1.095 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8012, allocations: 46.06 kB / 1.095 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.8013, allocations: 2.281 kB / 1.095 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.8016, allocations: 27.7 kB / 1.095 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.8016, allocations: 13.23 kB / 1.095 GB, free: 5.957 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 7.85e-05/0.8017, allocations: 197.5 kB / 1.095 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.8018, allocations: 43.52 kB / 1.095 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.8023, allocations: 256.7 kB / 1.096 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.8024, allocations: 2.562 kB / 1.096 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8024, allocations: 4.688 kB / 1.096 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8024, allocations: 1.516 kB / 1.096 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.8033, allocations: 0.7044 MB / 1.096 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8033, allocations: 5.781 kB / 1.096 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.8035, allocations: 35.83 kB / 1.096 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.8035, allocations: 1.812 kB / 1.096 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8035, allocations: 8.438 kB / 1.096 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.8035, allocations: 7.719 kB / 1.096 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8035, allocations: 1.5 kB / 1.096 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.8039, allocations: 339.6 kB / 1.097 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.8041, allocations: 138.9 kB / 1.097 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.8041, allocations: 3.422 kB / 1.097 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.8043, allocations: 18.73 kB / 1.097 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.8044, allocations: 15.22 kB / 1.097 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.8044, allocations: 10.78 kB / 1.097 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003353/0.8047, allocations: 332.2 kB / 1.097 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8048, allocations: 0.9062 kB / 1.097 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006961/0.8055, allocations: 198.1 kB / 1.097 GB, free: 4.555 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.0009753/0.8064, allocations: 491 kB / 1.098 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.8071, allocations: 280.1 kB / 1.098 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8071, allocations: 1.719 kB / 1.098 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.8073, allocations: 88.12 kB / 1.098 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8084, allocations: 196.4 kB / 1.098 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.8095, allocations: 0.7366 MB / 1.099 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.8097, allocations: 0.8241 MB / 1.1 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.8098, allocations: 44.94 kB / 1.1 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.8098, allocations: 0 / 1.1 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of Templates: time 0.01211/0.8219, allocations: 7.316 MB / 1.107 GB, free: 2.16 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 -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