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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001484/0.001484, allocations: 112 kB / 16.37 MB, free: 5.539 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.001588/0.001589, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 62.77 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3338, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02051/0.3544, allocations: 17.46 MB / 0.9682 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008498/0.363, allocations: 4.923 MB / 0.973 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.364, allocations: 19.88 kB / 0.973 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.3653, allocations: 246.4 kB / 0.9732 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.3674, allocations: 0.614 MB / 0.9738 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.3699, allocations: 0.7241 MB / 0.9745 GB, free: 20 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.3718, allocations: 0.9701 MB / 0.9755 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.3723, allocations: 333.4 kB / 0.9758 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.3731, allocations: 418.3 kB / 0.9762 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.3735, allocations: 310.6 kB / 0.9765 GB, free: 14 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.3736, allocations: 32 kB / 0.9765 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.3751, allocations: 0.7292 MB / 0.9772 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.3753, allocations: 127.6 kB / 0.9774 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.3755, allocations: 250.6 kB / 0.9776 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.3771, allocations: 0.8724 MB / 0.9785 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3771, allocations: 0 / 0.9785 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3772, allocations: 0 / 0.9785 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3772, allocations: 7.984 kB / 0.9785 GB, free: 11.98 MB / 0.7637 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.001489/0.3787, allocations: 0.8797 MB / 0.9793 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3787, allocations: 12.03 kB / 0.9793 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.3789, allocations: 56.28 kB / 0.9794 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.3797, allocations: 461.7 kB / 0.9798 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3797, allocations: 28.48 kB / 0.9799 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3798, allocations: 28 kB / 0.9799 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.3804, allocations: 282.3 kB / 0.9802 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3804, allocations: 7.922 kB / 0.9802 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.3805, allocations: 15.94 kB / 0.9802 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3805, allocations: 4 kB / 0.9802 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.3809, allocations: 190.1 kB / 0.9804 GB, free: 9.93 MB / 0.7637 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.002097/0.383, allocations: 1.48 MB / 0.9818 GB, free: 8.344 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.3834, allocations: 166.6 kB / 0.982 GB, free: 8.172 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.3836, allocations: 80.81 kB / 0.982 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/0.3856, allocations: 1.276 MB / 0.9833 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3857, allocations: 42.5 kB / 0.9833 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/0.3857, allocations: 0 / 0.9833 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0006833/0.3864, allocations: 251.9 kB / 0.9836 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3864, allocations: 55.41 kB / 0.9836 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.3871, allocations: 0.5847 MB / 0.9842 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.3872, allocations: 29.7 kB / 0.9842 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.3874, allocations: 272 kB / 0.9845 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.3875, allocations: 51.3 kB / 0.9845 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3876, allocations: 69.88 kB / 0.9846 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3878, allocations: 362.8 kB / 0.9849 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.3881, allocations: 77.94 kB / 0.985 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3885, allocations: 210.7 kB / 0.9852 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.3889, allocations: 227.3 kB / 0.9854 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3889, allocations: 8 kB / 0.9854 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006573/0.3896, allocations: 314.6 kB / 0.9857 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3896, allocations: 7.938 kB / 0.9857 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.3896, allocations: 4 kB / 0.9858 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3896, allocations: 4 kB / 0.9858 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.3899, allocations: 68.16 kB / 0.9858 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3899, allocations: 7.984 kB / 0.9858 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3903, allocations: 39.67 kB / 0.9859 GB, free: 3.828 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3903, allocations: 11.98 kB / 0.9859 GB, free: 3.816 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003216/0.3906, allocations: 224.1 kB / 0.9861 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002759/0.3909, allocations: 209.5 kB / 0.9863 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000363/0.3913, allocations: 225.2 kB / 0.9865 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3913, allocations: 7.938 kB / 0.9865 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006265/0.3919, allocations: 314.3 kB / 0.9868 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.392, allocations: 4 kB / 0.9868 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.392, allocations: 7.938 kB / 0.9868 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.392, allocations: 4 kB / 0.9868 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3922, allocations: 64.16 kB / 0.9869 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3922, allocations: 4 kB / 0.9869 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3926, allocations: 39.81 kB / 0.9869 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3926, allocations: 16.19 kB / 0.9869 GB, free: 2.633 MB / 0.7637 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.000356/0.393, allocations: 196.1 kB / 0.9871 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.3931, allocations: 55.31 kB / 0.9872 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.3938, allocations: 267.9 kB / 0.9874 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3938, allocations: 0 / 0.9874 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3938, allocations: 0 / 0.9874 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3938, allocations: 3.984 kB / 0.9874 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.395, allocations: 0.7317 MB / 0.9882 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.395, allocations: 0 / 0.9882 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.3952, allocations: 31.92 kB / 0.9882 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3952, allocations: 0 / 0.9882 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3952, allocations: 8 kB / 0.9882 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3952, allocations: 4 kB / 0.9882 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3952, allocations: 0 / 0.9882 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.3957, allocations: 354.2 kB / 0.9885 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.3959, allocations: 144.5 kB / 0.9887 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.396, allocations: 7.984 kB / 0.9887 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3962, allocations: 12 kB / 0.9887 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3962, allocations: 20.05 kB / 0.9887 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3963, allocations: 8 kB / 0.9887 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004904/0.3968, allocations: 418.8 kB / 0.9891 GB, free: 284 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3968, allocations: 0 / 0.9891 GB, free: 284 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008342/0.3976, allocations: 227.7 kB / 0.9893 GB, free: 56 kB / 0.7637 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.001261/0.3989, allocations: 0.4944 MB / 0.9898 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008059/0.3997, allocations: 323.5 kB / 0.9901 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3997, allocations: 0 / 0.9901 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3999, allocations: 84.95 kB / 0.9902 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.401, allocations: 258.4 kB / 0.9905 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4025, allocations: 0.813 MB / 0.9913 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.403, allocations: 0.8389 MB / 0.9921 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000314/0.4033, allocations: 104.6 kB / 0.9922 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4035, allocations: 43.42 kB / 0.9922 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.4035, allocations: 0 / 0.9922 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.01935/0.4228, allocations: 10.17 MB / 1.002 GB, free: 3.141 MB / 0.7794 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 -s cvode -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/jenkins1/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