Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001692/0.001692, allocations: 110.2 kB / 15.99 MB, free: 6.367 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.001991/0.001991, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.513/1.513, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437.1 MB / 0.7107 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.95 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02089/0.375, allocations: 17.37 MB / 1.034 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007983/0.383, allocations: 4.887 MB / 1.039 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007665/0.3838, allocations: 15.88 kB / 1.039 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.3848, allocations: 211 kB / 1.039 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.3868, allocations: 0.5682 MB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.3891, allocations: 0.6672 MB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3907, allocations: 0.9699 MB / 1.042 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.3912, allocations: 337.1 kB / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.392, allocations: 418.3 kB / 1.042 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.3924, allocations: 326.6 kB / 1.043 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.3925, allocations: 28 kB / 1.043 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.394, allocations: 0.733 MB / 1.043 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3942, allocations: 127.6 kB / 1.043 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.3945, allocations: 254.5 kB / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3956, allocations: 0.6276 MB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3956, allocations: 0 / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3956, allocations: 0 / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3956, allocations: 0 / 1.044 GB, free: 15.38 MB / 0.8262 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.001503/0.3971, allocations: 0.8836 MB / 1.045 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3972, allocations: 12.92 kB / 1.045 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.3974, allocations: 56.28 kB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.3981, allocations: 441.7 kB / 1.046 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3981, allocations: 28.5 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.3982, allocations: 31.94 kB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.3987, allocations: 286.3 kB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3988, allocations: 0 / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.3988, allocations: 8 kB / 1.046 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3988, allocations: 4 kB / 1.046 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3992, allocations: 190.1 kB / 1.046 GB, free: 13.35 MB / 0.8262 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.002033/0.4013, allocations: 1.488 MB / 1.048 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.4016, allocations: 158.7 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4018, allocations: 84.81 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.4037, allocations: 1.268 MB / 1.049 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.4037, allocations: 42.5 kB / 1.049 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.4037, allocations: 0 / 1.049 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0006796/0.4044, allocations: 251 kB / 1.049 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.4045, allocations: 59.34 kB / 1.049 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007212/0.4052, allocations: 0.5809 MB / 1.05 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4053, allocations: 29.7 kB / 1.05 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.4055, allocations: 280 kB / 1.05 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.4056, allocations: 47.23 kB / 1.05 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4057, allocations: 81.88 kB / 1.05 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4059, allocations: 358.8 kB / 1.051 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4061, allocations: 77.94 kB / 1.051 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.4065, allocations: 207.3 kB / 1.051 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.4069, allocations: 231.2 kB / 1.051 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4069, allocations: 4 kB / 1.051 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006086/0.4075, allocations: 310.3 kB / 1.052 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4076, allocations: 7.938 kB / 1.052 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4076, allocations: 4 kB / 1.052 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4076, allocations: 4 kB / 1.052 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.4079, allocations: 71.83 kB / 1.052 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.4079, allocations: 4.25 kB / 1.052 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.4083, allocations: 51.58 kB / 1.052 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.4083, allocations: 19.98 kB / 1.052 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003342/0.4087, allocations: 212.6 kB / 1.052 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003023/0.409, allocations: 209.6 kB / 1.052 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004207/0.4094, allocations: 239.3 kB / 1.052 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.536e-06/0.4094, allocations: 4 kB / 1.052 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005848/0.41, allocations: 308.7 kB / 1.053 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.41, allocations: 4 kB / 1.053 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.41, allocations: 7.938 kB / 1.053 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.41, allocations: 4 kB / 1.053 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4103, allocations: 68.16 kB / 1.053 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4103, allocations: 4 kB / 1.053 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.4107, allocations: 35.81 kB / 1.053 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4107, allocations: 19.98 kB / 1.053 GB, free: 6.031 MB / 0.8262 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.0001584/0.4109, allocations: 196.2 kB / 1.053 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.411, allocations: 51.38 kB / 1.053 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005934/0.4116, allocations: 270 kB / 1.053 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4116, allocations: 0 / 1.053 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4116, allocations: 4 kB / 1.053 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4116, allocations: 0 / 1.053 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4127, allocations: 0.7278 MB / 1.054 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4127, allocations: 0 / 1.054 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.4129, allocations: 39.91 kB / 1.054 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4129, allocations: 4.188 kB / 1.054 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4129, allocations: 4 kB / 1.054 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4129, allocations: 8.062 kB / 1.054 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4129, allocations: 0 / 1.054 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.4135, allocations: 354.1 kB / 1.054 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.4136, allocations: 148.3 kB / 1.055 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.4137, allocations: 11.94 kB / 1.055 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4139, allocations: 15.98 kB / 1.055 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.414, allocations: 19.92 kB / 1.055 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.414, allocations: 7.984 kB / 1.055 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004967/0.4145, allocations: 426.8 kB / 1.055 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4145, allocations: 0 / 1.055 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007956/0.4153, allocations: 227.7 kB / 1.055 GB, free: 3.426 MB / 0.8262 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.001672/0.417, allocations: 491.7 kB / 1.056 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.4179, allocations: 334.6 kB / 1.056 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4179, allocations: 4 kB / 1.056 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.4181, allocations: 83.89 kB / 1.056 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.4194, allocations: 246.9 kB / 1.056 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.421, allocations: 0.9983 MB / 1.057 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.4215, allocations: 0.8466 MB / 1.058 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4216, allocations: 43.44 kB / 1.058 GB, free: 476 kB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.4216, allocations: 4 kB / 1.058 GB, free: 472 kB / 0.8262 GB Notification: Performance of Templates: time 0.01647/0.4381, allocations: 8.529 MB / 1.067 GB, free: 8.016 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches