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.001337/0.001337, allocations: 105.1 kB / 15.98 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.001356/0.001356, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.241/2.241, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001829, allocations: 63.67 kB / 0.8127 GB, free: 32.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02214/0.3407, allocations: 17.35 MB / 0.9667 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008207/0.3489, allocations: 4.89 MB / 0.9715 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.3498, allocations: 11.94 kB / 0.9715 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3509, allocations: 214.9 kB / 0.9717 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.353, allocations: 0.5716 MB / 0.9723 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.3554, allocations: 0.665 MB / 0.9729 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.357, allocations: 0.9661 MB / 0.9739 GB, free: 484 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.3576, allocations: 337.2 kB / 0.9742 GB, free: 140 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000987/0.3586, allocations: 418.3 kB / 0.9746 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.3592, allocations: 322.6 kB / 0.9749 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.557e-05/0.3593, allocations: 32 kB / 0.9749 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.3608, allocations: 0.7291 MB / 0.9756 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.361, allocations: 127.6 kB / 0.9758 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.3614, allocations: 254.5 kB / 0.976 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3627, allocations: 0.6276 MB / 0.9766 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3628, allocations: 3.938 kB / 0.9766 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3628, allocations: 0 / 0.9766 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.3628, allocations: 0 / 0.9766 GB, free: 13.64 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.001709/0.3645, allocations: 0.8758 MB / 0.9775 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3646, allocations: 12.03 kB / 0.9775 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.3648, allocations: 60.28 kB / 0.9775 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.3655, allocations: 449.8 kB / 0.978 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3655, allocations: 24.5 kB / 0.978 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.3656, allocations: 28 kB / 0.978 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.3661, allocations: 286.2 kB / 0.9783 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3662, allocations: 3.938 kB / 0.9783 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3662, allocations: 16 kB / 0.9783 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3662, allocations: 4 kB / 0.9783 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.3667, allocations: 194.1 kB / 0.9785 GB, free: 11.6 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.002172/0.3689, allocations: 1.476 MB / 0.9799 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3692, allocations: 166.8 kB / 0.9801 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3694, allocations: 80.8 kB / 0.9802 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/0.3716, allocations: 1.28 MB / 0.9814 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3716, allocations: 38.44 kB / 0.9815 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 2.334e-06/0.3716, allocations: 0 / 0.9815 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0007956/0.3724, allocations: 249.1 kB / 0.9817 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3725, allocations: 51.41 kB / 0.9818 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.3734, allocations: 0.5886 MB / 0.9823 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.3735, allocations: 29.7 kB / 0.9824 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.3738, allocations: 272 kB / 0.9826 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3738, allocations: 51.3 kB / 0.9827 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.374, allocations: 69.88 kB / 0.9827 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3742, allocations: 358.8 kB / 0.9831 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3744, allocations: 81.88 kB / 0.9832 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.3747, allocations: 206.8 kB / 0.9833 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.3752, allocations: 243.2 kB / 0.9836 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3752, allocations: 0 / 0.9836 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000711/0.3759, allocations: 305 kB / 0.9839 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.3759, allocations: 11.94 kB / 0.9839 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.376, allocations: 4 kB / 0.9839 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.376, allocations: 4 kB / 0.9839 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3763, allocations: 63.89 kB / 0.984 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.3763, allocations: 11.92 kB / 0.984 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.3767, allocations: 47.67 kB / 0.984 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3768, allocations: 11.98 kB / 0.984 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003336/0.3771, allocations: 222.6 kB / 0.9842 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002978/0.3774, allocations: 205.6 kB / 0.9844 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004083/0.3778, allocations: 234.9 kB / 0.9847 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.3779, allocations: 0 / 0.9847 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005991/0.3785, allocations: 319 kB / 0.985 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3785, allocations: 4 kB / 0.985 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3785, allocations: 7.938 kB / 0.985 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.3785, allocations: 4 kB / 0.985 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3787, allocations: 63.91 kB / 0.985 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3788, allocations: 4 kB / 0.985 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.3792, allocations: 44.12 kB / 0.9851 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3792, allocations: 15.98 kB / 0.9851 GB, free: 4.293 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.0001406/0.3793, allocations: 200.1 kB / 0.9853 GB, free: 4.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.3794, allocations: 51.31 kB / 0.9853 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.3801, allocations: 269.5 kB / 0.9856 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3801, allocations: 4.188 kB / 0.9856 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3801, allocations: 0 / 0.9856 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3801, allocations: 3.984 kB / 0.9856 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3812, allocations: 0.7346 MB / 0.9863 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3812, allocations: 4 kB / 0.9863 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3814, allocations: 31.97 kB / 0.9863 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3814, allocations: 0 / 0.9863 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3814, allocations: 8 kB / 0.9864 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3814, allocations: 3.938 kB / 0.9864 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3814, allocations: 4 kB / 0.9864 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.3819, allocations: 350.5 kB / 0.9867 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.3822, allocations: 148.4 kB / 0.9868 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.3822, allocations: 0 / 0.9868 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.3825, allocations: 23.89 kB / 0.9869 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3825, allocations: 19.86 kB / 0.9869 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3826, allocations: 11.98 kB / 0.9869 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000538/0.3831, allocations: 418.8 kB / 0.9873 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3831, allocations: 0 / 0.9873 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008378/0.384, allocations: 231.7 kB / 0.9875 GB, free: 1.691 MB / 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.001283/0.3852, allocations: 487.7 kB / 0.988 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007781/0.386, allocations: 334 kB / 0.9883 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3861, allocations: 0 / 0.9883 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3863, allocations: 92.89 kB / 0.9884 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.3876, allocations: 261.6 kB / 0.9886 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3892, allocations: 0.9905 MB / 0.9896 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.3897, allocations: 0.8467 MB / 0.9904 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3899, allocations: 39.44 kB / 0.9905 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.3899, allocations: 0 / 0.9905 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.01429/0.4042, allocations: 8.513 MB / 0.9988 GB, free: 6.281 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 -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