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.001543/0.001543, allocations: 111.6 kB / 16.41 MB, free: 6.504 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.002014/0.002014, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.379/1.379, 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.586/2.586, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 59.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8518, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01698/0.8688, allocations: 15.54 MB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00656/0.8754, allocations: 4.333 MB / 1.228 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.8763, allocations: 11.94 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.8778, allocations: 262.3 kB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.8803, allocations: 0.6052 MB / 1.228 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.8833, allocations: 0.7185 MB / 1.229 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.8852, allocations: 1.021 MB / 1.23 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.8859, allocations: 339.6 kB / 1.23 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008921/0.8868, allocations: 422.4 kB / 1.231 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.8874, allocations: 326.5 kB / 1.231 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.8875, allocations: 28 kB / 1.231 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.889, allocations: 0.6317 MB / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.8892, allocations: 103.5 kB / 1.232 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.8895, allocations: 218.8 kB / 1.232 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.8909, allocations: 0.7612 MB / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8909, allocations: 0 / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8909, allocations: 0 / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.8909, allocations: 0 / 1.233 GB, free: 4.277 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.001466/0.8924, allocations: 0.8329 MB / 1.234 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8924, allocations: 12.03 kB / 1.234 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.8926, allocations: 52.28 kB / 1.234 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.8933, allocations: 437.4 kB / 1.234 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8934, allocations: 16.44 kB / 1.234 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.8934, allocations: 31.98 kB / 1.234 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.8939, allocations: 211.2 kB / 1.234 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8939, allocations: 7.938 kB / 1.234 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.8939, allocations: 8 kB / 1.234 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.8939, allocations: 8 kB / 1.234 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.8943, allocations: 161.6 kB / 1.235 GB, free: 2.426 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.001763/0.8961, allocations: 0.9379 MB / 1.236 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.8965, allocations: 142.5 kB / 1.236 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.8966, allocations: 68.81 kB / 1.236 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.897, allocations: 336.4 kB / 1.236 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.897, allocations: 34.56 kB / 1.236 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 2.345e-06/0.8971, allocations: 3.938 kB / 1.236 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0007222/0.8978, allocations: 237.1 kB / 1.236 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.8978, allocations: 63.39 kB / 1.236 GB, free: 436 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.8984, allocations: 478.1 kB / 1.237 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.8985, allocations: 29.7 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.8987, allocations: 232.6 kB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.8987, allocations: 43.36 kB / 1.237 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.8988, allocations: 61.59 kB / 1.237 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.899, allocations: 358.7 kB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.8992, allocations: 72.81 kB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.8994, allocations: 147.7 kB / 1.238 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.8998, allocations: 168.1 kB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8998, allocations: 0 / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005421/0.9004, allocations: 251.2 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.9004, allocations: 4 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9004, allocations: 0 / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9004, allocations: 4 kB / 1.238 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.9006, allocations: 55.91 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9007, allocations: 3.984 kB / 1.238 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.901, allocations: 39.67 kB / 1.238 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.901, allocations: 11.98 kB / 1.238 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002757/0.9013, allocations: 191.9 kB / 1.238 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002602/0.9016, allocations: 163.6 kB / 1.239 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003379/0.9019, allocations: 175.2 kB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.9019, allocations: 3.938 kB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005379/0.9025, allocations: 253 kB / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.9025, allocations: 4 kB / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.9025, allocations: 0 / 1.239 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/0.9025, allocations: 4 kB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.9027, allocations: 47.91 kB / 1.239 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.9027, allocations: 0 / 1.239 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.9031, allocations: 35.94 kB / 1.239 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.9031, allocations: 12 kB / 1.239 GB, free: 13.5 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.0001293/0.9032, allocations: 196.1 kB / 1.239 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.9033, allocations: 43.44 kB / 1.239 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.9039, allocations: 245.3 kB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9039, allocations: 4 kB / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.9039, allocations: 0 / 1.24 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.9041, allocations: 132.5 kB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.9041, allocations: 4.188 kB / 1.24 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.9043, allocations: 15.92 kB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.9044, allocations: 20.05 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004529/0.9048, allocations: 283.5 kB / 1.24 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004726/0.9053, allocations: 390.2 kB / 1.24 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001842/0.9055, allocations: 74.2 kB / 1.24 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003481/0.9059, allocations: 338.8 kB / 1.241 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of Backend: time 4.81e-07/0.9059, allocations: 4 kB / 1.241 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.9082, allocations: 0.7975 MB / 1.242 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001882/0.9101, allocations: 1.26 MB / 1.243 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.01823/0.9283, allocations: 9.755 MB / 1.252 GB, free: 192 kB / 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