Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_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_9_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.009211/0.009211, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.001565/0.001565, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.745/1.745, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.476/2.476, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.28 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01699/0.3776, allocations: 15.54 MB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007954/0.3856, allocations: 4.346 MB / 1.107 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.3866, allocations: 15.88 kB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3879, allocations: 258.4 kB / 1.108 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.3903, allocations: 0.6342 MB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.3929, allocations: 0.7145 MB / 1.109 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.3947, allocations: 1.031 MB / 1.11 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005597/0.3953, allocations: 335.7 kB / 1.11 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008342/0.3962, allocations: 438.3 kB / 1.111 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.3966, allocations: 318.6 kB / 1.111 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.3967, allocations: 24 kB / 1.111 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.398, allocations: 0.6317 MB / 1.112 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3981, allocations: 107.5 kB / 1.112 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.3984, allocations: 222.8 kB / 1.112 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3995, allocations: 0.7555 MB / 1.113 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3996, allocations: 0 / 1.113 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3996, allocations: 4 kB / 1.113 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.3996, allocations: 0 / 1.113 GB, free: 8.066 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001305/0.4009, allocations: 0.833 MB / 1.113 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4009, allocations: 8.031 kB / 1.113 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4011, allocations: 60.22 kB / 1.114 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.4017, allocations: 437.3 kB / 1.114 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.4018, allocations: 24.42 kB / 1.114 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.4018, allocations: 31.98 kB / 1.114 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.4022, allocations: 219.2 kB / 1.114 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4023, allocations: 0 / 1.114 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.4023, allocations: 4 kB / 1.114 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4023, allocations: 4 kB / 1.114 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.4027, allocations: 161.6 kB / 1.114 GB, free: 6.211 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.001669/0.4043, allocations: 0.9457 MB / 1.115 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.4047, allocations: 134.6 kB / 1.115 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.4048, allocations: 68.81 kB / 1.116 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.4052, allocations: 344.5 kB / 1.116 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.4052, allocations: 34.56 kB / 1.116 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.4052, allocations: 0 / 1.116 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0006503/0.4059, allocations: 249 kB / 1.116 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4059, allocations: 51.41 kB / 1.116 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.4065, allocations: 478 kB / 1.117 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.4066, allocations: 29.7 kB / 1.117 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.4068, allocations: 224.6 kB / 1.117 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.4068, allocations: 51.3 kB / 1.117 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4069, allocations: 61.69 kB / 1.117 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4071, allocations: 354.7 kB / 1.117 GB, free: 3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4073, allocations: 68.81 kB / 1.117 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4076, allocations: 160.9 kB / 1.118 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.4079, allocations: 164.2 kB / 1.118 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4079, allocations: 0 / 1.118 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005045/0.4085, allocations: 257 kB / 1.118 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4085, allocations: 4 kB / 1.118 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.4085, allocations: 4 kB / 1.118 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4085, allocations: 7.938 kB / 1.118 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.4088, allocations: 43.91 kB / 1.118 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4088, allocations: 7.984 kB / 1.118 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.4091, allocations: 27.83 kB / 1.118 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.4091, allocations: 11.98 kB / 1.118 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002794/0.4094, allocations: 192.1 kB / 1.118 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000264/0.4097, allocations: 163 kB / 1.118 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000346/0.41, allocations: 179.8 kB / 1.119 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4101, allocations: 0 / 1.119 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004959/0.4106, allocations: 245 kB / 1.119 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4106, allocations: 10.38 kB / 1.119 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/0.4106, allocations: 0 / 1.119 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.4106, allocations: 7.938 kB / 1.119 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.4108, allocations: 47.97 kB / 1.119 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4108, allocations: 4 kB / 1.119 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4112, allocations: 39.81 kB / 1.119 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.4112, allocations: 8 kB / 1.119 GB, free: 1.285 MB / 0.8731 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.0001197/0.4113, allocations: 196.7 kB / 1.119 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.4114, allocations: 39.53 kB / 1.119 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.412, allocations: 249.2 kB / 1.119 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.412, allocations: 7.938 kB / 1.119 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.412, allocations: 0 / 1.119 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.412, allocations: 3.984 kB / 1.119 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000992/0.413, allocations: 0.7083 MB / 1.12 GB, free: 8 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.413, allocations: 3.938 kB / 1.12 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.4131, allocations: 31.98 kB / 1.12 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4132, allocations: 4 kB / 1.12 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4132, allocations: 0 / 1.12 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.4132, allocations: 7.938 kB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4132, allocations: 3.938 kB / 1.12 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.4137, allocations: 342.4 kB / 1.12 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4138, allocations: 132.5 kB / 1.121 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.4139, allocations: 11.98 kB / 1.121 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4141, allocations: 16.11 kB / 1.121 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.4142, allocations: 19.92 kB / 1.121 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4142, allocations: 7.984 kB / 1.121 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003728/0.4146, allocations: 338.9 kB / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4146, allocations: 0 / 1.121 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007283/0.4153, allocations: 199.6 kB / 1.121 GB, free: 14.87 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 (16): * Single equations (assignments): 14 * 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.001276/0.4166, allocations: 476.7 kB / 1.122 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.4173, allocations: 275.6 kB / 1.122 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4173, allocations: 0 / 1.122 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.4175, allocations: 83.89 kB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.4184, allocations: 199.5 kB / 1.122 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4198, allocations: 0.6935 MB / 1.123 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.4202, allocations: 0.8308 MB / 1.124 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002549/0.4205, allocations: 95.5 kB / 1.124 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.4206, allocations: 35.38 kB / 1.124 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of SimCode: time 8.62e-07/0.4206, allocations: 0 / 1.124 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.0157/0.4363, allocations: 8.524 MB / 1.132 GB, free: 3.859 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches