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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001419/0.001419, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 200.8 kB / 16.79 MB, free: 6.809 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7137, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.0213/0.735, allocations: 17.41 MB / 1.034 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00716/0.7422, allocations: 4.933 MB / 1.039 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.743, allocations: 15.88 kB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7441, allocations: 214.9 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.7458, allocations: 0.556 MB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.7478, allocations: 0.6435 MB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.7494, allocations: 1.275 MB / 1.042 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.75, allocations: 294.7 kB / 1.042 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008593/0.7508, allocations: 374.4 kB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.7513, allocations: 322.6 kB / 1.043 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.7514, allocations: 20 kB / 1.043 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.7527, allocations: 0.6979 MB / 1.043 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.7529, allocations: 127.5 kB / 1.043 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.7532, allocations: 234.6 kB / 1.044 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.754, allocations: 0.6275 MB / 1.044 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7541, allocations: 0 / 1.044 GB, free: 7.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7541, allocations: 0 / 1.044 GB, free: 7.004 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7541, allocations: 0 / 1.044 GB, free: 7.004 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.001316/0.7554, allocations: 0.8797 MB / 1.045 GB, free: 6.074 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7554, allocations: 8.031 kB / 1.045 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.7556, allocations: 64.22 kB / 1.045 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.7562, allocations: 441.7 kB / 1.046 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.7562, allocations: 28.5 kB / 1.046 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.7563, allocations: 28 kB / 1.046 GB, free: 5.477 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.7568, allocations: 290.1 kB / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7568, allocations: 0 / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.7569, allocations: 8 kB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.7569, allocations: 8 kB / 1.046 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.7573, allocations: 190.1 kB / 1.046 GB, free: 4.973 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.001864/0.7592, allocations: 1.476 MB / 1.048 GB, free: 3.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.7595, allocations: 154.8 kB / 1.048 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.7597, allocations: 94.3 kB / 1.048 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.7614, allocations: 1.276 MB / 1.049 GB, free: 1.668 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.7614, allocations: 42.5 kB / 1.049 GB, free: 1.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 2.966e-06/0.7614, allocations: 0 / 1.049 GB, free: 1.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006184/0.762, allocations: 254.9 kB / 1.049 GB, free: 1.363 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7621, allocations: 55.41 kB / 1.049 GB, free: 1.297 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.7627, allocations: 0.5771 MB / 1.05 GB, free: 0.707 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.7628, allocations: 29.7 kB / 1.05 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.763, allocations: 272 kB / 1.05 GB, free: 412 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.763, allocations: 51.28 kB / 1.05 GB, free: 360 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7631, allocations: 73.88 kB / 1.05 GB, free: 280 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7633, allocations: 358.8 kB / 1.051 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.7635, allocations: 85.94 kB / 1.051 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.7638, allocations: 214.7 kB / 1.051 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.7642, allocations: 227.3 kB / 1.051 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7642, allocations: 4 kB / 1.051 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005803/0.7648, allocations: 312.8 kB / 1.052 GB, free: 15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.7648, allocations: 7.938 kB / 1.052 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7648, allocations: 4 kB / 1.052 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7649, allocations: 4 kB / 1.052 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.7651, allocations: 63.91 kB / 1.052 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.7651, allocations: 11.92 kB / 1.052 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.7655, allocations: 47.8 kB / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.7655, allocations: 19.98 kB / 1.052 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003034/0.7658, allocations: 212.6 kB / 1.052 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000273/0.7661, allocations: 205.6 kB / 1.052 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003735/0.7665, allocations: 234.9 kB / 1.052 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-06/0.7665, allocations: 4 kB / 1.052 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005589/0.7671, allocations: 302 kB / 1.053 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7671, allocations: 8 kB / 1.053 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7671, allocations: 7.938 kB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-06/0.7671, allocations: 4 kB / 1.053 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.7673, allocations: 67.83 kB / 1.053 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7674, allocations: 8.125 kB / 1.053 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.7677, allocations: 44.06 kB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7677, allocations: 19.94 kB / 1.053 GB, free: 13.66 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.000127/0.7679, allocations: 200.1 kB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.768, allocations: 51.38 kB / 1.053 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.7685, allocations: 267.5 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.7685, allocations: 0 / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7685, allocations: 0 / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7685, allocations: 0 / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.7696, allocations: 0.7356 MB / 1.054 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7696, allocations: 0 / 1.054 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.7697, allocations: 31.98 kB / 1.054 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7697, allocations: 4 kB / 1.054 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7698, allocations: 3.984 kB / 1.054 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7698, allocations: 4 kB / 1.054 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.7698, allocations: 3.938 kB / 1.054 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.7703, allocations: 358.2 kB / 1.054 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.7704, allocations: 148.4 kB / 1.055 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.7705, allocations: 12 kB / 1.055 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.7707, allocations: 11.98 kB / 1.055 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.7708, allocations: 19.92 kB / 1.055 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.7708, allocations: 4 kB / 1.055 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004551/0.7713, allocations: 430.7 kB / 1.055 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7713, allocations: 0 / 1.055 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007668/0.772, allocations: 227.6 kB / 1.055 GB, free: 11.05 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.001107/0.7732, allocations: 0.489 MB / 1.056 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007199/0.7739, allocations: 318.5 kB / 1.056 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7739, allocations: 0 / 1.056 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.7741, allocations: 91.95 kB / 1.056 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.7754, allocations: 244.2 kB / 1.056 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.7767, allocations: 0.9867 MB / 1.057 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.7772, allocations: 0.8428 MB / 1.058 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.7773, allocations: 47.44 kB / 1.058 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.7773, allocations: 0 / 1.058 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of Templates: time 0.01301/0.7903, allocations: 8.557 MB / 1.067 GB, free: 15.64 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/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