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.00156/0.00156, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001738/0.001738, allocations: 187 kB / 17.34 MB, free: 5.742 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.13 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.287/2.287, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.9223, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02107/0.9434, allocations: 17.45 MB / 1.106 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009037/0.9525, allocations: 4.91 MB / 1.11 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.9535, allocations: 14.16 kB / 1.11 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.9548, allocations: 264.2 kB / 1.111 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.9572, allocations: 0.6085 MB / 1.111 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.9599, allocations: 0.7293 MB / 1.112 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.962, allocations: 0.9733 MB / 1.113 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/0.9629, allocations: 330.6 kB / 1.113 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.9641, allocations: 423.6 kB / 1.114 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.965, allocations: 310.7 kB / 1.114 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.9651, allocations: 33.31 kB / 1.114 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.9672, allocations: 0.7243 MB / 1.115 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.9675, allocations: 136.3 kB / 1.115 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.968, allocations: 242.2 kB / 1.115 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.9703, allocations: 0.8746 MB / 1.116 GB, free: 3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9704, allocations: 0 / 1.116 GB, free: 3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9704, allocations: 0 / 1.116 GB, free: 3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.004e-05/0.9704, allocations: 0.7031 kB / 1.116 GB, free: 3 MB / 0.8731 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.002384/0.9728, allocations: 0.8827 MB / 1.117 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9728, allocations: 8.875 kB / 1.117 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.9732, allocations: 58.92 kB / 1.117 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.9743, allocations: 471.2 kB / 1.117 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.9743, allocations: 26.28 kB / 1.117 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.9744, allocations: 27.44 kB / 1.117 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.975, allocations: 285.8 kB / 1.118 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.975, allocations: 4 kB / 1.118 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.9751, allocations: 11.09 kB / 1.118 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.9751, allocations: 6.594 kB / 1.118 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.9756, allocations: 190 kB / 1.118 GB, free: 1.699 MB / 0.8731 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.002521/0.9781, allocations: 1.476 MB / 1.119 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.9786, allocations: 165.8 kB / 1.119 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.9788, allocations: 85.33 kB / 1.12 GB, free: 492 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.9807, allocations: 1.274 MB / 1.121 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.9808, allocations: 36.55 kB / 1.121 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.614e-06/0.9808, allocations: 0 / 1.121 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0007723/0.9815, allocations: 259.2 kB / 1.121 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.9816, allocations: 56.78 kB / 1.121 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/0.9825, allocations: 0.5802 MB / 1.122 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.9826, allocations: 31.8 kB / 1.122 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.9829, allocations: 265.6 kB / 1.122 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.983, allocations: 50.73 kB / 1.122 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9831, allocations: 69.41 kB / 1.122 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.9833, allocations: 363.4 kB / 1.122 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.9835, allocations: 77.86 kB / 1.122 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.9839, allocations: 213.9 kB / 1.123 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.9844, allocations: 236.9 kB / 1.123 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.9844, allocations: 1.156 kB / 1.123 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006993/0.9851, allocations: 313.8 kB / 1.123 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.9851, allocations: 10.53 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.9852, allocations: 2.75 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.9852, allocations: 5 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.9854, allocations: 59.75 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.9855, allocations: 4.875 kB / 1.123 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.9858, allocations: 53.62 kB / 1.123 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.9859, allocations: 16.19 kB / 1.123 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003676/0.9863, allocations: 215.6 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003126/0.9866, allocations: 207 kB / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004351/0.987, allocations: 235.2 kB / 1.124 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.9871, allocations: 0 / 1.124 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006572/0.9877, allocations: 306.3 kB / 1.124 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9877, allocations: 10.16 kB / 1.124 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9878, allocations: 6.156 kB / 1.124 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.9878, allocations: 4.219 kB / 1.124 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.988, allocations: 60.73 kB / 1.124 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.988, allocations: 7.359 kB / 1.124 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.9884, allocations: 42.69 kB / 1.124 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.9885, allocations: 16.77 kB / 1.124 GB, free: 12.98 MB / 0.8887 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.000234/0.9887, allocations: 198.7 kB / 1.125 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.9888, allocations: 55.12 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.9894, allocations: 254.1 kB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.9895, allocations: 7.312 kB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9895, allocations: 3.938 kB / 1.125 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.9895, allocations: 0.9844 kB / 1.125 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.9908, allocations: 0.7337 MB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.9909, allocations: 1.375 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.991, allocations: 33.23 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.991, allocations: 2.469 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.991, allocations: 6.922 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.991, allocations: 3.453 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9911, allocations: 5.344 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.9917, allocations: 364.2 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.9919, allocations: 141.8 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/0.992, allocations: 7.953 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.9922, allocations: 12.64 kB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.9923, allocations: 19.78 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.9923, allocations: 6.109 kB / 1.126 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005996/0.9929, allocations: 421.7 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9929, allocations: 3.938 kB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009425/0.9938, allocations: 226.6 kB / 1.127 GB, free: 11.51 MB / 0.8887 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.001403/0.9953, allocations: 0.4968 MB / 1.127 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008154/0.9961, allocations: 318 kB / 1.128 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9961, allocations: 0 / 1.128 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.9963, allocations: 87.58 kB / 1.128 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.9976, allocations: 264.7 kB / 1.128 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.9994, allocations: 0.8317 MB / 1.129 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/1, allocations: 0.8439 MB / 1.13 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1, allocations: 45.05 kB / 1.13 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/1, allocations: 0 / 1.13 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of Templates: time 0.02113/1.021, allocations: 8.554 MB / 1.138 GB, free: 8.859 MB / 0.8887 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