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.001069/0.001069, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007088/0.007088, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.437/1.437, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.747/2.747, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6895, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02257/0.7121, allocations: 16.86 MB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007789/0.72, allocations: 4.86 MB / 1.044 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.7207, allocations: 15.88 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.7216, allocations: 214.9 kB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.7234, allocations: 0.556 MB / 1.045 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.7255, allocations: 0.6459 MB / 1.046 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.7272, allocations: 1.274 MB / 1.047 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000592/0.7278, allocations: 278.1 kB / 1.047 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.7287, allocations: 370.4 kB / 1.047 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.7293, allocations: 314.6 kB / 1.048 GB, free: 6.438 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.7293, allocations: 12 kB / 1.048 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.7307, allocations: 0.6978 MB / 1.048 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.7308, allocations: 115.5 kB / 1.049 GB, free: 5.613 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.7312, allocations: 252.3 kB / 1.049 GB, free: 5.359 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.7325, allocations: 0.845 MB / 1.05 GB, free: 4.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.7325, allocations: 0 / 1.05 GB, free: 4.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7326, allocations: 0 / 1.05 GB, free: 4.512 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.7326, allocations: 0 / 1.05 GB, free: 4.512 MB / 0.795 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.001355/0.7339, allocations: 0.7981 MB / 1.05 GB, free: 3.664 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.734, allocations: 8.031 kB / 1.05 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.7342, allocations: 60.28 kB / 1.051 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.7348, allocations: 449.7 kB / 1.051 GB, free: 3.117 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.7349, allocations: 24.5 kB / 1.051 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.7349, allocations: 32 kB / 1.051 GB, free: 3.062 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.7355, allocations: 290.2 kB / 1.051 GB, free: 2.762 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7355, allocations: 3.938 kB / 1.051 GB, free: 2.758 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.7356, allocations: 8 kB / 1.051 GB, free: 2.75 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.7356, allocations: 12 kB / 1.051 GB, free: 2.738 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.7361, allocations: 198 kB / 1.051 GB, free: 2.543 MB / 0.795 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.002069/0.7382, allocations: 1.476 MB / 1.053 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.7385, allocations: 166.7 kB / 1.053 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.7387, allocations: 92.8 kB / 1.053 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.7405, allocations: 1.295 MB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7405, allocations: 34.5 kB / 1.054 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.7405, allocations: 0 / 1.054 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0006698/0.7412, allocations: 265 kB / 1.055 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.7413, allocations: 55.41 kB / 1.055 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.7419, allocations: 0.5848 MB / 1.055 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.742, allocations: 25.7 kB / 1.055 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.7422, allocations: 276 kB / 1.056 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.7422, allocations: 51.28 kB / 1.056 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.7423, allocations: 33.7 kB / 1.056 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7425, allocations: 362.8 kB / 1.056 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.7427, allocations: 80.45 kB / 1.056 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.743, allocations: 218.7 kB / 1.056 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.7435, allocations: 254.8 kB / 1.057 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.7435, allocations: 4 kB / 1.057 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006639/0.7441, allocations: 312.9 kB / 1.057 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7443, allocations: 170.8 kB / 1.057 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7443, allocations: 4 kB / 1.057 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7443, allocations: 4 kB / 1.057 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.7446, allocations: 59.91 kB / 1.057 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.7446, allocations: 8 kB / 1.057 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.745, allocations: 55.59 kB / 1.057 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.745, allocations: 12 kB / 1.057 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.7451, allocations: 4 kB / 1.057 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005177/0.7456, allocations: 253.6 kB / 1.057 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.7456, allocations: 8 kB / 1.057 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.7456, allocations: 4 kB / 1.057 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.7458, allocations: 64.09 kB / 1.058 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.7459, allocations: 11.94 kB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.7462, allocations: 47.75 kB / 1.058 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.7462, allocations: 12 kB / 1.058 GB, free: 11.8 MB / 0.8106 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.0002383/0.7465, allocations: 253 kB / 1.058 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.7466, allocations: 55.34 kB / 1.058 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006021/0.7472, allocations: 273.6 kB / 1.058 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.7472, allocations: 4 kB / 1.058 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7472, allocations: 4 kB / 1.058 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7472, allocations: 3.984 kB / 1.058 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.7485, allocations: 0.7464 MB / 1.059 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7485, allocations: 0 / 1.059 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.7486, allocations: 35.92 kB / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7487, allocations: 0 / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.7487, allocations: 8 kB / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7487, allocations: 0 / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7487, allocations: 4 kB / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.7493, allocations: 368.1 kB / 1.059 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.7495, allocations: 152.5 kB / 1.059 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.7495, allocations: 0 / 1.059 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.7498, allocations: 31.81 kB / 1.059 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.7498, allocations: 16.27 kB / 1.059 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7499, allocations: 7.938 kB / 1.059 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005188/0.7504, allocations: 422.8 kB / 1.06 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7504, allocations: 0 / 1.06 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00089/0.7513, allocations: 227.7 kB / 1.06 GB, free: 9.098 MB / 0.8106 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.001361/0.7527, allocations: 498.5 kB / 1.061 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007635/0.7534, allocations: 345 kB / 1.061 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7534, allocations: 0 / 1.061 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.7537, allocations: 96.89 kB / 1.061 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.7551, allocations: 247.6 kB / 1.061 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.7567, allocations: 0.9838 MB / 1.062 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.7572, allocations: 0.8468 MB / 1.063 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003897/0.7576, allocations: 108.6 kB / 1.063 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.7577, allocations: 39.42 kB / 1.063 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of SimCode: time 1.613e-06/0.7577, allocations: 0 / 1.063 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of Templates: time 0.01913/0.7768, allocations: 9.844 MB / 1.073 GB, free: 12.32 MB / 0.8262 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=480 -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/jenkins/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