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.001326/0.001326, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001313/0.001313, allocations: 187 kB / 17.34 MB, free: 5.762 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.365/1.365, 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.1-master/package.mo): time 2.685/2.685, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 71.88 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8934, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01873/0.9122, allocations: 15.54 MB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006946/0.9192, allocations: 4.335 MB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.9199, allocations: 11.94 kB / 1.228 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.9211, allocations: 270.3 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.923, allocations: 0.5984 MB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9251, allocations: 0.723 MB / 1.229 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.9266, allocations: 1.029 MB / 1.23 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00064/0.9273, allocations: 343.6 kB / 1.231 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.9282, allocations: 422.3 kB / 1.231 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.9289, allocations: 322.5 kB / 1.231 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.929, allocations: 24 kB / 1.231 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9303, allocations: 0.6317 MB / 1.232 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.9305, allocations: 107.6 kB / 1.232 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.9308, allocations: 222.8 kB / 1.232 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.9323, allocations: 0.7573 MB / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9324, allocations: 0 / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9324, allocations: 0 / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.9324, allocations: 0 / 1.233 GB, free: 4.332 MB / 0.9512 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.001478/0.9339, allocations: 0.8408 MB / 1.234 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.9339, allocations: 8.031 kB / 1.234 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.9341, allocations: 56.28 kB / 1.234 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.9348, allocations: 425.5 kB / 1.234 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.9349, allocations: 24.38 kB / 1.234 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.9349, allocations: 28 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.9354, allocations: 211.2 kB / 1.235 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9354, allocations: 4 kB / 1.235 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.9355, allocations: 4 kB / 1.235 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9355, allocations: 7.938 kB / 1.235 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.9359, allocations: 165.6 kB / 1.235 GB, free: 2.484 MB / 0.9512 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.00172/0.9376, allocations: 0.9456 MB / 1.236 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.9379, allocations: 134.5 kB / 1.236 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.9381, allocations: 68.81 kB / 1.236 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.9384, allocations: 348.5 kB / 1.236 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.9384, allocations: 34.56 kB / 1.236 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.9385, allocations: 0 / 1.236 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0006672/0.9391, allocations: 233.1 kB / 1.237 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.9392, allocations: 59.33 kB / 1.237 GB, free: 496 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.9397, allocations: 477.9 kB / 1.237 GB, free: 8 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.9398, allocations: 37.7 kB / 1.237 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.94, allocations: 228.6 kB / 1.237 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.94, allocations: 47.36 kB / 1.237 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.9401, allocations: 61.59 kB / 1.237 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9403, allocations: 354.7 kB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.9405, allocations: 68.81 kB / 1.238 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.9407, allocations: 155.7 kB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.9411, allocations: 158.5 kB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9411, allocations: 3.938 kB / 1.238 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005491/0.9417, allocations: 258.9 kB / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9417, allocations: 4 kB / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9417, allocations: 0 / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.9417, allocations: 4 kB / 1.238 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.942, allocations: 43.91 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.942, allocations: 4 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.9424, allocations: 39.66 kB / 1.238 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.9424, allocations: 15.98 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000297/0.9427, allocations: 195.9 kB / 1.239 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000241/0.943, allocations: 151.6 kB / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000364/0.9433, allocations: 179.5 kB / 1.239 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.9433, allocations: 0 / 1.239 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000532/0.9439, allocations: 257 kB / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.9439, allocations: 8 kB / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.9439, allocations: 0 / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.9439, allocations: 8 kB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.9441, allocations: 43.91 kB / 1.239 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9442, allocations: 4 kB / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.9445, allocations: 35.88 kB / 1.239 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.9445, allocations: 8 kB / 1.239 GB, free: 13.56 MB / 0.9669 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.0001247/0.9447, allocations: 204.1 kB / 1.24 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.9448, allocations: 43.44 kB / 1.24 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.9453, allocations: 247.4 kB / 1.24 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.9454, allocations: 4 kB / 1.24 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9454, allocations: 0 / 1.24 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.9454, allocations: 3.984 kB / 1.24 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.9464, allocations: 0.7083 MB / 1.24 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.9464, allocations: 0 / 1.24 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.9466, allocations: 31.98 kB / 1.241 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.9466, allocations: 0 / 1.241 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.9466, allocations: 8.125 kB / 1.241 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.9466, allocations: 7.938 kB / 1.241 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9466, allocations: 0 / 1.241 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.9471, allocations: 342.3 kB / 1.241 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.9473, allocations: 136.5 kB / 1.241 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.9474, allocations: 11.98 kB / 1.241 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.9476, allocations: 11.92 kB / 1.241 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.9477, allocations: 19.92 kB / 1.241 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.9477, allocations: 4 kB / 1.241 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003634/0.948, allocations: 338.9 kB / 1.241 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9481, allocations: 4.094 kB / 1.241 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007028/0.9488, allocations: 199.6 kB / 1.242 GB, free: 11.14 MB / 0.9669 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.001202/0.95, allocations: 483.5 kB / 1.242 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.9507, allocations: 271.6 kB / 1.242 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.9507, allocations: 0 / 1.242 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.9509, allocations: 84.27 kB / 1.242 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.952, allocations: 196.7 kB / 1.243 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.9533, allocations: 0.7379 MB / 1.243 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.9537, allocations: 0.8309 MB / 1.244 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.9539, allocations: 39.42 kB / 1.244 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.9539, allocations: 0 / 1.244 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of Templates: time 0.01247/0.9663, allocations: 7.358 MB / 1.251 GB, free: 1.301 MB / 0.9669 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