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.001628/0.001628, allocations: 108 kB / 15.6 MB, free: 132 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.001543/0.001543, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.585/1.585, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.817/2.817, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6776/0.6795, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02163/0.7012, allocations: 17.46 MB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.71, allocations: 4.91 MB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.7109, allocations: 11.94 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.712, allocations: 250.4 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.7139, allocations: 0.6141 MB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.7163, allocations: 0.7249 MB / 1.041 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.7178, allocations: 0.9725 MB / 1.042 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.7184, allocations: 335 kB / 1.042 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.7191, allocations: 418.3 kB / 1.042 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.7196, allocations: 306.7 kB / 1.043 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.812e-05/0.7197, allocations: 31.94 kB / 1.043 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.7212, allocations: 0.7253 MB / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.7214, allocations: 139.5 kB / 1.044 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.7217, allocations: 242.6 kB / 1.044 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7231, allocations: 0.8646 MB / 1.045 GB, free: 6.559 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7231, allocations: 0 / 1.045 GB, free: 6.559 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7232, allocations: 0 / 1.045 GB, free: 6.559 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.7232, allocations: 0 / 1.045 GB, free: 6.559 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.001611/0.7248, allocations: 0.8835 MB / 1.045 GB, free: 5.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.7248, allocations: 12.03 kB / 1.045 GB, free: 5.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.7251, allocations: 56.28 kB / 1.046 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.7258, allocations: 445.8 kB / 1.046 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.7259, allocations: 28.5 kB / 1.046 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.7259, allocations: 28 kB / 1.046 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.7265, allocations: 278.3 kB / 1.046 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.7265, allocations: 3.938 kB / 1.046 GB, free: 4.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7266, allocations: 15.94 kB / 1.046 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.7266, allocations: 4 kB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.727, allocations: 190.1 kB / 1.046 GB, free: 4.527 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.002123/0.7292, allocations: 1.488 MB / 1.048 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.7295, allocations: 158.8 kB / 1.048 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7297, allocations: 88.8 kB / 1.048 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.7316, allocations: 1.268 MB / 1.049 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.7316, allocations: 42.5 kB / 1.049 GB, free: 1.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.7316, allocations: 0 / 1.049 GB, free: 1.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0006754/0.7323, allocations: 246.8 kB / 1.05 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7324, allocations: 59.34 kB / 1.05 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.7331, allocations: 0.5809 MB / 1.05 GB, free: 264 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.7332, allocations: 29.7 kB / 1.05 GB, free: 228 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.7334, allocations: 268.3 kB / 1.051 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.7335, allocations: 55.2 kB / 1.051 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.7336, allocations: 73.88 kB / 1.051 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.7339, allocations: 362.8 kB / 1.051 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.7341, allocations: 77.94 kB / 1.051 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.7344, allocations: 218.7 kB / 1.051 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.7349, allocations: 230.7 kB / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7349, allocations: 0 / 1.052 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006351/0.7356, allocations: 312.6 kB / 1.052 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.7356, allocations: 11.94 kB / 1.052 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7356, allocations: 4 kB / 1.052 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.7356, allocations: 4 kB / 1.052 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.7359, allocations: 67.98 kB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.7359, allocations: 7.938 kB / 1.052 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.7363, allocations: 43.92 kB / 1.052 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.7363, allocations: 19.92 kB / 1.052 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003554/0.7367, allocations: 218.6 kB / 1.052 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003252/0.737, allocations: 209.5 kB / 1.052 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000438/0.7375, allocations: 233 kB / 1.053 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.7375, allocations: 0 / 1.053 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006064/0.7381, allocations: 312.7 kB / 1.053 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7381, allocations: 5.406 kB / 1.053 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7381, allocations: 7.938 kB / 1.053 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.7381, allocations: 4 kB / 1.053 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.7384, allocations: 63.91 kB / 1.053 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7384, allocations: 4 kB / 1.053 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.7387, allocations: 40.06 kB / 1.053 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.7388, allocations: 15.98 kB / 1.053 GB, free: 13.22 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.0001778/0.739, allocations: 200.1 kB / 1.053 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.7391, allocations: 51.38 kB / 1.053 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.7397, allocations: 261.6 kB / 1.054 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.7397, allocations: 4 kB / 1.054 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.7397, allocations: 3.984 kB / 1.054 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7397, allocations: 0 / 1.054 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.7409, allocations: 0.7318 MB / 1.054 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7409, allocations: 0 / 1.054 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.741, allocations: 39.92 kB / 1.054 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.741, allocations: 0 / 1.054 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.741, allocations: 4 kB / 1.054 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.741, allocations: 0 / 1.054 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7411, allocations: 7.984 kB / 1.054 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.7416, allocations: 359.9 kB / 1.055 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.7418, allocations: 148.4 kB / 1.055 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.7418, allocations: 8 kB / 1.055 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.742, allocations: 7.984 kB / 1.055 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.7421, allocations: 23.92 kB / 1.055 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7421, allocations: 4 kB / 1.055 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005393/0.7427, allocations: 418.8 kB / 1.055 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7427, allocations: 0 / 1.055 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008516/0.7436, allocations: 223.7 kB / 1.055 GB, free: 10.63 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.001694/0.7453, allocations: 0.4994 MB / 1.056 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.7461, allocations: 329.9 kB / 1.056 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7461, allocations: 0 / 1.056 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7463, allocations: 83.89 kB / 1.056 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.7475, allocations: 256.3 kB / 1.057 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.7491, allocations: 0.813 MB / 1.057 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.7496, allocations: 0.8506 MB / 1.058 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.75, allocations: 104.6 kB / 1.058 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.7501, allocations: 43.42 kB / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.7501, allocations: 0 / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.02143/0.7715, allocations: 10.18 MB / 1.068 GB, free: 13.7 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=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/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