Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001253/0.001253, allocations: 111.5 kB / 15.99 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.001211/0.001211, allocations: 191.9 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 74.81 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3112, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.4682/0.7794, allocations: 17.34 MB / 1.081 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005788/0.7852, allocations: 4.886 MB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.7858, allocations: 17.72 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.7866, allocations: 217 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.788, allocations: 0.5589 MB / 1.087 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.7899, allocations: 0.6606 MB / 1.087 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.7912, allocations: 0.9795 MB / 1.088 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/0.7917, allocations: 330.1 kB / 1.089 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.7924, allocations: 417.9 kB / 1.089 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.7928, allocations: 327.6 kB / 1.089 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.7928, allocations: 33.22 kB / 1.089 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.7943, allocations: 0.7303 MB / 1.09 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7944, allocations: 132.9 kB / 1.09 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.7946, allocations: 242.3 kB / 1.09 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000934/0.7956, allocations: 0.6345 MB / 1.091 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7956, allocations: 0 / 1.091 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7956, allocations: 1.188 kB / 1.091 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.7956, allocations: 3.938 kB / 1.091 GB, free: 9.805 MB / 0.8419 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.001188/0.7968, allocations: 0.8811 MB / 1.092 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.7968, allocations: 8.562 kB / 1.092 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.797, allocations: 60.11 kB / 1.092 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.7976, allocations: 442.9 kB / 1.092 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.7976, allocations: 24.45 kB / 1.092 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.7976, allocations: 32.09 kB / 1.092 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.7982, allocations: 285.5 kB / 1.093 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7982, allocations: 1.125 kB / 1.093 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.7982, allocations: 10.03 kB / 1.093 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.7982, allocations: 6.844 kB / 1.093 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.7986, allocations: 189.2 kB / 1.093 GB, free: 8.543 MB / 0.8419 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.001626/0.8003, allocations: 1.483 MB / 1.094 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.8006, allocations: 161.8 kB / 1.094 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.8008, allocations: 85.05 kB / 1.095 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.8022, allocations: 1.279 MB / 1.096 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.8022, allocations: 36.66 kB / 1.096 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.8022, allocations: 0 / 1.096 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006408/0.8028, allocations: 260.4 kB / 1.096 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.8029, allocations: 54.17 kB / 1.096 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.8036, allocations: 0.5795 MB / 1.097 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8036, allocations: 31.7 kB / 1.097 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.8038, allocations: 272.4 kB / 1.097 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.8038, allocations: 51.53 kB / 1.097 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.804, allocations: 73.53 kB / 1.097 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.804, allocations: 362.2 kB / 1.097 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.8042, allocations: 79.5 kB / 1.098 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.8045, allocations: 214.3 kB / 1.098 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.8049, allocations: 229.8 kB / 1.098 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.805, allocations: 1.062 kB / 1.098 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005813/0.8055, allocations: 319.5 kB / 1.098 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8056, allocations: 10.09 kB / 1.098 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8056, allocations: 2.922 kB / 1.098 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8056, allocations: 4.219 kB / 1.098 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.8059, allocations: 64.7 kB / 1.098 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.8059, allocations: 4.297 kB / 1.098 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.8062, allocations: 57.33 kB / 1.098 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.8063, allocations: 16.19 kB / 1.098 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002812/0.8066, allocations: 214.6 kB / 1.099 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00024/0.8068, allocations: 212.5 kB / 1.099 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003298/0.8071, allocations: 222 kB / 1.099 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.8072, allocations: 1.062 kB / 1.099 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005289/0.8077, allocations: 310.7 kB / 1.099 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8077, allocations: 5.969 kB / 1.099 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.8077, allocations: 2.5 kB / 1.099 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/0.8077, allocations: 8.531 kB / 1.099 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.808, allocations: 63.5 kB / 1.099 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.808, allocations: 9.625 kB / 1.099 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.8083, allocations: 37.2 kB / 1.099 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.8084, allocations: 20.27 kB / 1.099 GB, free: 3.824 MB / 0.8419 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 8.385e-05/0.8084, allocations: 200.5 kB / 1.1 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.8085, allocations: 50.06 kB / 1.1 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.8091, allocations: 257.7 kB / 1.1 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8091, allocations: 6.766 kB / 1.1 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8091, allocations: 0.8438 kB / 1.1 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8091, allocations: 1.078 kB / 1.1 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.8101, allocations: 0.7317 MB / 1.101 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8101, allocations: 5.031 kB / 1.101 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.8102, allocations: 33.28 kB / 1.101 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8102, allocations: 2.469 kB / 1.101 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.8103, allocations: 6.922 kB / 1.101 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8103, allocations: 2.672 kB / 1.101 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8103, allocations: 9.609 kB / 1.101 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.8107, allocations: 352.5 kB / 1.101 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.8108, allocations: 157.8 kB / 1.101 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.8109, allocations: 7.578 kB / 1.101 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.8111, allocations: 17.88 kB / 1.101 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.8112, allocations: 14.52 kB / 1.101 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8112, allocations: 10.67 kB / 1.101 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004527/0.8117, allocations: 420.5 kB / 1.102 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8117, allocations: 4 kB / 1.102 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008297/0.8125, allocations: 231.8 kB / 1.102 GB, free: 2.355 MB / 0.8419 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.00151/0.814, allocations: 499.6 kB / 1.102 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007316/0.8148, allocations: 324.5 kB / 1.103 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8148, allocations: 4.25 kB / 1.103 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.815, allocations: 87.56 kB / 1.103 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.8161, allocations: 251.7 kB / 1.103 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.8173, allocations: 0.9873 MB / 1.104 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.8176, allocations: 0.8481 MB / 1.105 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.8177, allocations: 43.91 kB / 1.105 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.8177, allocations: 4 kB / 1.105 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of Templates: time 0.01487/0.8326, allocations: 8.513 MB / 1.113 GB, free: 15.61 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches