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: 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.001739/0.001739, 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.002106/0.002106, 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.477/2.477, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.88 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7809, allocations: 140.3 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01602/0.797, allocations: 17.4 MB / 0.9666 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007272/0.8043, allocations: 4.94 MB / 0.9714 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.805, allocations: 16.56 kB / 0.9714 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/0.8059, allocations: 204.4 kB / 0.9716 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.8075, allocations: 0.566 MB / 0.9722 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.8095, allocations: 0.6386 MB / 0.9728 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.8112, allocations: 1.275 MB / 0.974 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.8118, allocations: 292.1 kB / 0.9743 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.8126, allocations: 377.4 kB / 0.9747 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.813, allocations: 321.8 kB / 0.975 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.8131, allocations: 19.06 kB / 0.975 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.8145, allocations: 0.6992 MB / 0.9757 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.8147, allocations: 121.8 kB / 0.9758 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.815, allocations: 237.5 kB / 0.976 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008976/0.8159, allocations: 0.6201 MB / 0.9766 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8159, allocations: 1.188 kB / 0.9766 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.81e-07/0.8159, allocations: 0 / 0.9766 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.8159, allocations: 0 / 0.9766 GB, free: 3.836 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.001416/0.8173, allocations: 0.8845 MB / 0.9775 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8174, allocations: 9.469 kB / 0.9775 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.8176, allocations: 62.5 kB / 0.9776 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.8182, allocations: 443.4 kB / 0.978 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.8182, allocations: 24.25 kB / 0.978 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.8183, allocations: 35.64 kB / 0.978 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.8188, allocations: 280 kB / 0.9783 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.8188, allocations: 3.938 kB / 0.9783 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.8189, allocations: 11.44 kB / 0.9783 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8189, allocations: 5.281 kB / 0.9783 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.8193, allocations: 191.3 kB / 0.9785 GB, free: 2.348 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.001967/0.8213, allocations: 1.482 MB / 0.98 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.8217, allocations: 161 kB / 0.9801 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.8219, allocations: 83.59 kB / 0.9802 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/0.8236, allocations: 1.274 MB / 0.9814 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.8236, allocations: 39.47 kB / 0.9815 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.8236, allocations: 3.938 kB / 0.9815 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0006904/0.8243, allocations: 252 kB / 0.9817 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.8244, allocations: 53.91 kB / 0.9818 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.8251, allocations: 0.5809 MB / 0.9823 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.8251, allocations: 30.98 kB / 0.9824 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.8254, allocations: 269.5 kB / 0.9826 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.8254, allocations: 59.42 kB / 0.9827 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.8255, allocations: 78.09 kB / 0.9827 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.8257, allocations: 359 kB / 0.9831 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.8259, allocations: 81.66 kB / 0.9832 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.8262, allocations: 204.1 kB / 0.9834 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.8267, allocations: 236.9 kB / 0.9836 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8267, allocations: 1.125 kB / 0.9836 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006053/0.8273, allocations: 315.2 kB / 0.9839 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.8273, allocations: 9.562 kB / 0.9839 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8273, allocations: 2.125 kB / 0.9839 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8273, allocations: 4.031 kB / 0.9839 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.8276, allocations: 67.61 kB / 0.984 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.8276, allocations: 4.562 kB / 0.984 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.828, allocations: 47.11 kB / 0.984 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.8281, allocations: 18.45 kB / 0.984 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003124/0.8284, allocations: 213.8 kB / 0.9842 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002891/0.8287, allocations: 210.6 kB / 0.9844 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003859/0.8291, allocations: 220.7 kB / 0.9846 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.8291, allocations: 5.375 kB / 0.9847 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000591/0.8297, allocations: 313.6 kB / 0.985 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.8297, allocations: 7.594 kB / 0.985 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8297, allocations: 6.438 kB / 0.985 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-06/0.8297, allocations: 4.625 kB / 0.985 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.83, allocations: 66.47 kB / 0.985 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.83, allocations: 7.984 kB / 0.985 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.8304, allocations: 38.72 kB / 0.9851 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.8304, allocations: 19.3 kB / 0.9851 GB, free: 12.91 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.0001374/0.8306, allocations: 203 kB / 0.9853 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.8307, allocations: 54 kB / 0.9853 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.8312, allocations: 255.7 kB / 0.9856 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.8313, allocations: 7.984 kB / 0.9856 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8313, allocations: 0 / 0.9856 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8313, allocations: 0 / 0.9856 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8324, allocations: 0.7338 MB / 0.9863 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8324, allocations: 192 / 0.9863 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.8325, allocations: 43.84 kB / 0.9864 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8325, allocations: 3.938 kB / 0.9864 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.8326, allocations: 8 kB / 0.9864 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.8326, allocations: 8.125 kB / 0.9864 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8326, allocations: 0 / 0.9864 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.8331, allocations: 356 kB / 0.9867 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.8333, allocations: 144.5 kB / 0.9868 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.8334, allocations: 4 kB / 0.9869 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8336, allocations: 15.98 kB / 0.9869 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.8337, allocations: 15.92 kB / 0.9869 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8337, allocations: 11.98 kB / 0.9869 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004849/0.8342, allocations: 418.8 kB / 0.9873 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8342, allocations: 0 / 0.9873 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008411/0.835, allocations: 235.6 kB / 0.9875 GB, free: 10.4 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.001266/0.8363, allocations: 0.4894 MB / 0.988 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.8371, allocations: 320.4 kB / 0.9883 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8371, allocations: 0 / 0.9883 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.8373, allocations: 83.83 kB / 0.9884 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.8386, allocations: 258.8 kB / 0.9886 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.8402, allocations: 0.979 MB / 0.9896 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.8407, allocations: 0.8507 MB / 0.9904 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.8408, allocations: 43.44 kB / 0.9905 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.8408, allocations: 0 / 0.9905 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of Templates: time 0.01442/0.8552, allocations: 8.558 MB / 0.9988 GB, free: 14.97 MB / 0.7637 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