Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001545/0.001545, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001262/0.001262, allocations: 191 kB / 16.25 MB, free: 6.637 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.551/2.551, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 71.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8404, allocations: 140.3 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0186/0.8591, allocations: 17.36 MB / 0.966 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00828/0.8674, allocations: 4.888 MB / 0.9708 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008767/0.8683, allocations: 20.19 kB / 0.9708 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.8694, allocations: 218.7 kB / 0.971 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.8715, allocations: 0.5633 MB / 0.9716 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.874, allocations: 0.6649 MB / 0.9722 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.8757, allocations: 0.9731 MB / 0.9732 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006037/0.8763, allocations: 327.9 kB / 0.9735 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.8773, allocations: 422.5 kB / 0.9739 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.8778, allocations: 329 kB / 0.9742 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.8778, allocations: 29.66 kB / 0.9743 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.8794, allocations: 0.7265 MB / 0.975 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.8796, allocations: 133.8 kB / 0.9751 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.8799, allocations: 245.1 kB / 0.9753 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.8813, allocations: 0.8693 MB / 0.9762 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.8814, allocations: 0 / 0.9762 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8814, allocations: 4 kB / 0.9762 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.8814, allocations: 0 / 0.9762 GB, free: 3.77 MB / 0.7325 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.001403/0.8828, allocations: 0.8721 MB / 0.977 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8829, allocations: 9.719 kB / 0.977 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.8831, allocations: 62.34 kB / 0.9771 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.8838, allocations: 443.6 kB / 0.9775 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.8838, allocations: 24.09 kB / 0.9775 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.8839, allocations: 32 kB / 0.9776 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.8844, allocations: 284 kB / 0.9778 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8845, allocations: 0 / 0.9778 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.8845, allocations: 11.06 kB / 0.9779 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.8845, allocations: 10.42 kB / 0.9779 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.885, allocations: 190.3 kB / 0.978 GB, free: 2.293 MB / 0.7325 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.002482/0.8875, allocations: 1.49 MB / 0.9795 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.8879, allocations: 161.6 kB / 0.9797 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.8881, allocations: 87.45 kB / 0.9797 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/0.8901, allocations: 1.277 MB / 0.981 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.8901, allocations: 39.81 kB / 0.981 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.8901, allocations: 0 / 0.981 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0007166/0.8908, allocations: 250.2 kB / 0.9813 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.8909, allocations: 56.81 kB / 0.9813 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.8917, allocations: 0.5817 MB / 0.9819 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.8918, allocations: 31.67 kB / 0.9819 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.892, allocations: 273.3 kB / 0.9822 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.8921, allocations: 54.86 kB / 0.9822 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.8922, allocations: 70.72 kB / 0.9823 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8924, allocations: 358.3 kB / 0.9826 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.8926, allocations: 82.19 kB / 0.9827 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.8929, allocations: 212.1 kB / 0.9829 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.8934, allocations: 240.9 kB / 0.9831 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8934, allocations: 1.406 kB / 0.9831 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00066/0.8941, allocations: 300.8 kB / 0.9834 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.8941, allocations: 10.47 kB / 0.9834 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8941, allocations: 2.438 kB / 0.9834 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.8942, allocations: 3.406 kB / 0.9835 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.8944, allocations: 67.48 kB / 0.9835 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.8945, allocations: 7.969 kB / 0.9835 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.8949, allocations: 50.75 kB / 0.9836 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.895, allocations: 10.59 kB / 0.9836 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003425/0.8953, allocations: 213.9 kB / 0.9838 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003668/0.8957, allocations: 210.8 kB / 0.984 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005293/0.8962, allocations: 235.9 kB / 0.9842 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.8962, allocations: 0 / 0.9842 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007386/0.897, allocations: 313.6 kB / 0.9845 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.897, allocations: 7.281 kB / 0.9845 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.897, allocations: 9.219 kB / 0.9845 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.897, allocations: 8.625 kB / 0.9845 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.8973, allocations: 59.94 kB / 0.9846 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8973, allocations: 6.766 kB / 0.9846 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.8977, allocations: 39.42 kB / 0.9846 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.8978, allocations: 14.77 kB / 0.9846 GB, free: 12.85 MB / 0.7481 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.00017/0.8979, allocations: 202.6 kB / 0.9848 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.898, allocations: 49.12 kB / 0.9849 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.8986, allocations: 266 kB / 0.9851 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.8987, allocations: 0 / 0.9851 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.8987, allocations: 0 / 0.9851 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8987, allocations: 4 kB / 0.9851 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.8998, allocations: 0.7356 MB / 0.9859 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.8998, allocations: 0 / 0.9859 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.8999, allocations: 31.97 kB / 0.9859 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9, allocations: 4.125 kB / 0.9859 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9, allocations: 8 kB / 0.9859 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9, allocations: 7.938 kB / 0.9859 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9, allocations: 0 / 0.9859 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.9005, allocations: 355.8 kB / 0.9863 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.9006, allocations: 140.5 kB / 0.9864 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.9007, allocations: 4 kB / 0.9864 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.9009, allocations: 15.98 kB / 0.9864 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.901, allocations: 28.03 kB / 0.9864 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.901, allocations: 4 kB / 0.9864 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006034/0.9016, allocations: 422.8 kB / 0.9868 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9016, allocations: 0 / 0.9868 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009515/0.9026, allocations: 235.6 kB / 0.9871 GB, free: 10.32 MB / 0.7481 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.001381/0.904, allocations: 492.8 kB / 0.9875 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008089/0.9048, allocations: 339.8 kB / 0.9879 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9048, allocations: 0 / 0.9879 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.905, allocations: 87.83 kB / 0.9879 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.9063, allocations: 249 kB / 0.9882 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.9082, allocations: 0.9537 MB / 0.9891 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.9087, allocations: 0.8428 MB / 0.9899 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.9091, allocations: 104.6 kB / 0.99 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.9092, allocations: 43.42 kB / 0.9901 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.9092, allocations: 0 / 0.9901 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of Templates: time 0.02015/0.9293, allocations: 10.1 MB / 0.9999 GB, free: 13.35 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches