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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009682/0.0009682, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007253/0.007253, allocations: 170 kB / 16.26 MB, free: 6.613 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5326, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01347/0.5461, allocations: 16.83 MB / 0.9716 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.5522, allocations: 4.869 MB / 0.9764 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.5525, allocations: 15.72 kB / 0.9764 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.5532, allocations: 212.1 kB / 0.9766 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.5543, allocations: 0.5533 MB / 0.9771 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.5558, allocations: 0.6512 MB / 0.9778 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.5569, allocations: 1.279 MB / 0.979 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.5573, allocations: 282.1 kB / 0.9793 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.5579, allocations: 373.3 kB / 0.9796 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.5583, allocations: 313 kB / 0.9799 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.5584, allocations: 15.53 kB / 0.9799 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.5596, allocations: 0.691 MB / 0.9806 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.5597, allocations: 117.9 kB / 0.9807 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.5599, allocations: 248.2 kB / 0.981 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009064/0.5608, allocations: 0.8519 MB / 0.9818 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5608, allocations: 4 kB / 0.9818 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5608, allocations: 0 / 0.9818 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.088e-06/0.5609, allocations: 1.188 kB / 0.9818 GB, free: 2.82 MB / 0.7325 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.001086/0.562, allocations: 0.7882 MB / 0.9826 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.562, allocations: 13.81 kB / 0.9826 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.5621, allocations: 58.55 kB / 0.9826 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.5622, allocations: 62.22 kB / 0.9827 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.5628, allocations: 451.5 kB / 0.9831 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.5628, allocations: 20.47 kB / 0.9832 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.5629, allocations: 28.19 kB / 0.9832 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.5634, allocations: 295.3 kB / 0.9835 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5634, allocations: 1.562 kB / 0.9835 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5634, allocations: 10.91 kB / 0.9835 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5634, allocations: 5.75 kB / 0.9835 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.5639, allocations: 200.7 kB / 0.9837 GB, free: 1.332 MB / 0.7325 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.001766/0.5656, allocations: 1.485 MB / 0.9851 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.566, allocations: 169.9 kB / 0.9853 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.5662, allocations: 92.06 kB / 0.9854 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.5678, allocations: 1.286 MB / 0.9866 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5678, allocations: 35.94 kB / 0.9867 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5678, allocations: 0 / 0.9867 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0006157/0.5684, allocations: 276.8 kB / 0.9869 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5685, allocations: 55.41 kB / 0.987 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.5691, allocations: 0.5732 MB / 0.9875 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5691, allocations: 33.7 kB / 0.9876 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.5693, allocations: 276 kB / 0.9878 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5693, allocations: 55.28 kB / 0.9879 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.5694, allocations: 29.7 kB / 0.9879 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5695, allocations: 354.8 kB / 0.9883 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.5697, allocations: 80.5 kB / 0.9883 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.57, allocations: 216.8 kB / 0.9885 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.5703, allocations: 242.6 kB / 0.9888 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5704, allocations: 0 / 0.9888 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005534/0.5709, allocations: 338.3 kB / 0.9891 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.571, allocations: 153.8 kB / 0.9892 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.571, allocations: 8 kB / 0.9892 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.571, allocations: 4 kB / 0.9893 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.5713, allocations: 63.91 kB / 0.9893 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5713, allocations: 11.92 kB / 0.9893 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.5716, allocations: 47.67 kB / 0.9894 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.5717, allocations: 19.98 kB / 0.9894 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-06/0.5717, allocations: 4 kB / 0.9894 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004615/0.5721, allocations: 245.3 kB / 0.9896 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5722, allocations: 4.094 kB / 0.9896 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.5722, allocations: 11.88 kB / 0.9896 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.5724, allocations: 63.91 kB / 0.9897 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5724, allocations: 7.984 kB / 0.9897 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.5727, allocations: 43.86 kB / 0.9898 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.5727, allocations: 15.98 kB / 0.9898 GB, free: 11.24 MB / 0.7481 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.0001879/0.5729, allocations: 265 kB / 0.99 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.573, allocations: 47.34 kB / 0.9901 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.5735, allocations: 271 kB / 0.9903 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5736, allocations: 4 kB / 0.9903 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5736, allocations: 0 / 0.9903 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5736, allocations: 0 / 0.9903 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.5745, allocations: 0.7472 MB / 0.9911 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5745, allocations: 0 / 0.9911 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.5747, allocations: 35.98 kB / 0.9911 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5747, allocations: 4.062 kB / 0.9911 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5747, allocations: 11.98 kB / 0.9911 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5747, allocations: 8 kB / 0.9911 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5747, allocations: 0 / 0.9911 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.5751, allocations: 360.2 kB / 0.9915 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5753, allocations: 156.5 kB / 0.9916 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.5754, allocations: 0 / 0.9916 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5756, allocations: 35.77 kB / 0.9916 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.5756, allocations: 11.98 kB / 0.9917 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5756, allocations: 8 kB / 0.9917 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004098/0.5761, allocations: 422.8 kB / 0.9921 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5761, allocations: 0 / 0.9921 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006514/0.5767, allocations: 227.8 kB / 0.9923 GB, free: 8.535 MB / 0.7481 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.001606/0.5783, allocations: 1.285 MB / 0.9935 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.579, allocations: 342.3 kB / 0.9939 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.579, allocations: 0 / 0.9939 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.5792, allocations: 91.89 kB / 0.994 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5805, allocations: 245.3 kB / 0.9942 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/0.5854, allocations: 4.205 MB / 0.9983 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.5857, allocations: 0.8429 MB / 0.9991 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.586, allocations: 104.6 kB / 0.9992 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.5862, allocations: 163.4 kB / 0.9994 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.5862, allocations: 0 / 0.9994 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.827/3.413, allocations: 14.2 MB / 1.013 GB, free: 3.262 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/3.413, allocations: 265.9 kB / 1.013 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/5.417, allocations: 0 / 1.013 GB, free: 2.996 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > 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