Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001221/0.001221, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001292/0.001292, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.2 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 66.7 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03704/0.3757, allocations: 17.45 MB / 0.9673 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.3891, allocations: 4.925 MB / 0.9721 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.3901, allocations: 11.94 kB / 0.9721 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.3918, allocations: 250.4 kB / 0.9724 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.3951, allocations: 0.6178 MB / 0.973 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.3991, allocations: 0.7231 MB / 0.9737 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.4014, allocations: 0.97 MB / 0.9746 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009373/0.4024, allocations: 333.8 kB / 0.9749 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.4038, allocations: 418.3 kB / 0.9753 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009045/0.4048, allocations: 314.6 kB / 0.9756 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4049, allocations: 28 kB / 0.9757 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.4077, allocations: 0.7292 MB / 0.9764 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.4079, allocations: 135.5 kB / 0.9765 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.4084, allocations: 238.7 kB / 0.9767 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.4106, allocations: 0.8763 MB / 0.9776 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4106, allocations: 0 / 0.9776 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4107, allocations: 0 / 0.9776 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.4107, allocations: 0 / 0.9776 GB, free: 12.77 MB / 0.7637 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.002315/0.413, allocations: 0.8797 MB / 0.9784 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4131, allocations: 12.03 kB / 0.9785 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.4134, allocations: 60.28 kB / 0.9785 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4145, allocations: 445.7 kB / 0.9789 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.4146, allocations: 28.5 kB / 0.979 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.4147, allocations: 24 kB / 0.979 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.4156, allocations: 282.3 kB / 0.9793 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4157, allocations: 0 / 0.9793 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.4157, allocations: 16 kB / 0.9793 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4158, allocations: 4 kB / 0.9793 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007993/0.4166, allocations: 194 kB / 0.9795 GB, free: 10.73 MB / 0.7637 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.00345/0.42, allocations: 1.476 MB / 0.9809 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.4207, allocations: 170.7 kB / 0.9811 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.421, allocations: 88.8 kB / 0.9812 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/0.4238, allocations: 1.272 MB / 0.9824 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.4239, allocations: 38.5 kB / 0.9824 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 3.747e-06/0.4239, allocations: 0 / 0.9824 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.001153/0.425, allocations: 245.1 kB / 0.9827 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4251, allocations: 55.41 kB / 0.9827 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.4264, allocations: 0.5886 MB / 0.9833 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.4265, allocations: 33.7 kB / 0.9833 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.4268, allocations: 268 kB / 0.9836 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.4269, allocations: 55.28 kB / 0.9836 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.4271, allocations: 73.88 kB / 0.9837 GB, free: 6.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.4274, allocations: 358.8 kB / 0.984 GB, free: 5.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.4277, allocations: 81.94 kB / 0.9841 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.4283, allocations: 210.8 kB / 0.9843 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.4291, allocations: 231.9 kB / 0.9845 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4291, allocations: 0 / 0.9845 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001159/0.4302, allocations: 309 kB / 0.9848 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4303, allocations: 15.88 kB / 0.9849 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4303, allocations: 4 kB / 0.9849 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.4304, allocations: 7.984 kB / 0.9849 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.4309, allocations: 59.91 kB / 0.9849 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.4309, allocations: 4 kB / 0.9849 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.4316, allocations: 39.67 kB / 0.985 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.4316, allocations: 19.98 kB / 0.985 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006136/0.4323, allocations: 219.8 kB / 0.9852 GB, free: 4.395 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005431/0.4328, allocations: 209.5 kB / 0.9854 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007816/0.4336, allocations: 227.1 kB / 0.9856 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.4337, allocations: 0 / 0.9856 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001301/0.435, allocations: 318.8 kB / 0.9859 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.435, allocations: 10.28 kB / 0.9859 GB, free: 3.562 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.435, allocations: 7.938 kB / 0.9859 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.435, allocations: 4.188 kB / 0.9859 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.4354, allocations: 63.91 kB / 0.986 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4354, allocations: 4 kB / 0.986 GB, free: 3.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/0.4359, allocations: 39.8 kB / 0.986 GB, free: 3.445 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.4359, allocations: 12 kB / 0.9861 GB, free: 3.434 MB / 0.7637 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.0001808/0.4361, allocations: 196.3 kB / 0.9862 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4362, allocations: 59.38 kB / 0.9863 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.437, allocations: 261.5 kB / 0.9865 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.437, allocations: 7.984 kB / 0.9866 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.437, allocations: 4 kB / 0.9866 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.437, allocations: 0 / 0.9866 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.4384, allocations: 0.7264 MB / 0.9873 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4384, allocations: 4 kB / 0.9873 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.4385, allocations: 36.05 kB / 0.9873 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4386, allocations: 0 / 0.9873 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.4386, allocations: 8 kB / 0.9873 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4386, allocations: 3.984 kB / 0.9873 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4386, allocations: 4 kB / 0.9873 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.4393, allocations: 352.7 kB / 0.9877 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.4395, allocations: 148.4 kB / 0.9878 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.4396, allocations: 0 / 0.9878 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.4398, allocations: 15.98 kB / 0.9878 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.4399, allocations: 19.92 kB / 0.9878 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4399, allocations: 4 kB / 0.9878 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005454/0.4405, allocations: 418.8 kB / 0.9882 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4405, allocations: 0 / 0.9882 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009136/0.4414, allocations: 231.7 kB / 0.9885 GB, free: 0.8477 MB / 0.7637 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.001334/0.4427, allocations: 0.5016 MB / 0.9889 GB, free: 488 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008895/0.4436, allocations: 324.3 kB / 0.9893 GB, free: 164 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4437, allocations: 4 kB / 0.9893 GB, free: 160 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.4439, allocations: 83.89 kB / 0.9893 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4451, allocations: 258.1 kB / 0.9896 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4466, allocations: 0.852 MB / 0.9904 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.447, allocations: 0.8468 MB / 0.9912 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4471, allocations: 47.36 kB / 0.9913 GB, free: 14 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.4471, allocations: 0 / 0.9913 GB, free: 14 MB / 0.7794 GB Notification: Performance of Templates: time 0.01331/0.4604, allocations: 8.495 MB / 0.9996 GB, free: 5.578 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches