Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 102 kB / 16.27 MB, free: 5.969 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.001423/0.001423, allocations: 194.4 kB / 17.2 MB, free: 5.594 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.386/2.386, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 68.16 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01666/0.3004, allocations: 15.53 MB / 0.9654 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006631/0.3071, allocations: 4.338 MB / 0.9697 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.3078, allocations: 11.94 kB / 0.9697 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3088, allocations: 262.3 kB / 0.9699 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.3107, allocations: 0.6023 MB / 0.9705 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.3128, allocations: 0.7079 MB / 0.9712 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001554/0.3143, allocations: 1.033 MB / 0.9722 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.3149, allocations: 348 kB / 0.9726 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.3157, allocations: 406.4 kB / 0.9729 GB, free: 1.57 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.3163, allocations: 326.5 kB / 0.9733 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.841e-05/0.3163, allocations: 28 kB / 0.9733 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.3177, allocations: 0.6239 MB / 0.9739 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3178, allocations: 107.6 kB / 0.974 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.3181, allocations: 222.8 kB / 0.9742 GB, free: 280 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3195, allocations: 0.7633 MB / 0.975 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3195, allocations: 0 / 0.975 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3195, allocations: 0 / 0.975 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3196, allocations: 3.938 kB / 0.975 GB, free: 15.5 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001259/0.3208, allocations: 0.8291 MB / 0.9758 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3209, allocations: 8.031 kB / 0.9758 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.321, allocations: 56.28 kB / 0.9758 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.3215, allocations: 413.4 kB / 0.9762 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3216, allocations: 20.44 kB / 0.9762 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.3216, allocations: 28 kB / 0.9763 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.3221, allocations: 211.2 kB / 0.9765 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3221, allocations: 0 / 0.9765 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3221, allocations: 12 kB / 0.9765 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3221, allocations: 8 kB / 0.9765 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.3225, allocations: 165.6 kB / 0.9766 GB, free: 13.67 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.001546/0.3241, allocations: 0.9535 MB / 0.9776 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.3244, allocations: 134.6 kB / 0.9777 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3245, allocations: 68.81 kB / 0.9778 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.3248, allocations: 340.4 kB / 0.9781 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3249, allocations: 38.5 kB / 0.9781 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=14): time 1.754e-06/0.3249, allocations: 4 kB / 0.9781 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=14): time 0.0006481/0.3255, allocations: 229 kB / 0.9784 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.3256, allocations: 55.41 kB / 0.9784 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005092/0.3261, allocations: 478 kB / 0.9789 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.3261, allocations: 33.7 kB / 0.9789 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3263, allocations: 232.5 kB / 0.9791 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.3264, allocations: 47.3 kB / 0.9792 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.3265, allocations: 61.69 kB / 0.9792 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3266, allocations: 350.7 kB / 0.9796 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3268, allocations: 80.67 kB / 0.9796 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.3271, allocations: 152.6 kB / 0.9798 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3274, allocations: 161.1 kB / 0.9799 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3274, allocations: 7.938 kB / 0.9799 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005196/0.328, allocations: 252.9 kB / 0.9802 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.328, allocations: 8 kB / 0.9802 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.328, allocations: 0 / 0.9802 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.328, allocations: 0 / 0.9802 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.3283, allocations: 47.97 kB / 0.9802 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3283, allocations: 4 kB / 0.9802 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3287, allocations: 35.81 kB / 0.9803 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.3287, allocations: 11.98 kB / 0.9803 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003439/0.3291, allocations: 192 kB / 0.9805 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002743/0.3293, allocations: 159.5 kB / 0.9806 GB, free: 9.301 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003525/0.3297, allocations: 174.4 kB / 0.9808 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3297, allocations: 3.938 kB / 0.9808 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000575/0.3303, allocations: 260.9 kB / 0.981 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3303, allocations: 4 kB / 0.981 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.3303, allocations: 4 kB / 0.981 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.3304, allocations: 4 kB / 0.981 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3306, allocations: 43.97 kB / 0.9811 GB, free: 8.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3306, allocations: 7.938 kB / 0.9811 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.331, allocations: 27.91 kB / 0.9811 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.331, allocations: 16.06 kB / 0.9811 GB, free: 8.746 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001621/0.3312, allocations: 192.2 kB / 0.9813 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.3313, allocations: 43.44 kB / 0.9814 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.3319, allocations: 255.4 kB / 0.9816 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.332, allocations: 4 kB / 0.9816 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.332, allocations: 4 kB / 0.9816 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.332, allocations: 3.984 kB / 0.9816 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3332, allocations: 0.7005 MB / 0.9823 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3332, allocations: 128 / 0.9823 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3334, allocations: 35.92 kB / 0.9823 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3334, allocations: 0 / 0.9823 GB, free: 7.434 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3334, allocations: 8 kB / 0.9823 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3334, allocations: 3.938 kB / 0.9823 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3334, allocations: 4 kB / 0.9824 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.334, allocations: 349.1 kB / 0.9827 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.3342, allocations: 132.5 kB / 0.9828 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.775e-05/0.3343, allocations: 0 / 0.9828 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.3345, allocations: 23.91 kB / 0.9828 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.3346, allocations: 15.98 kB / 0.9829 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3346, allocations: 8 kB / 0.9829 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004512/0.3351, allocations: 334.9 kB / 0.9832 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3351, allocations: 0 / 0.9832 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000878/0.336, allocations: 199.6 kB / 0.9834 GB, free: 6.336 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 (16): * Single equations (assignments): 14 * 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.001475/0.3374, allocations: 491.1 kB / 0.9838 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008251/0.3383, allocations: 269.9 kB / 0.9841 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3383, allocations: 4.062 kB / 0.9841 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3385, allocations: 87.89 kB / 0.9842 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3397, allocations: 194.4 kB / 0.9844 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3412, allocations: 0.7381 MB / 0.9851 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3417, allocations: 0.8345 MB / 0.9859 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3418, allocations: 43.42 kB / 0.9859 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of SimCode: time 5.11e-07/0.3418, allocations: 0 / 0.9859 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of Templates: time 0.0123/0.3541, allocations: 7.315 MB / 0.9931 GB, free: 12.51 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches