Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.772/1.772, allocations: 177.2 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") translateModel(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u1Equ.y.1.|u1Equ.y.2.|setFloMin.ratFloMinEna.1..y|setFloMin.ratFloMinEna.2..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.1.|setFloMin.V_flow_min.2.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.801e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002668/0.002706, allocations: 0.9656 MB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.005149, allocations: 1.277 MB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.00527, allocations: 0 / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.00579, allocations: 116.5 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.005944, allocations: 63.73 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.006696, allocations: 169.7 kB / 0.8801 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.007515, allocations: 0.5549 MB / 0.8806 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.007781, allocations: 112.3 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.008306, allocations: 300.3 kB / 0.881 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.00868, allocations: 185.2 kB / 0.8812 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.008814, allocations: 36 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.009021, allocations: 71.91 kB / 0.8813 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.009392, allocations: 241.1 kB / 0.8815 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.009691, allocations: 151.6 kB / 0.8817 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.0108, allocations: 0.7167 MB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.0108, allocations: 0 / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.0108, allocations: 0 / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.01082, allocations: 1.062 kB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001595/0.01241, allocations: 0.6662 MB / 0.883 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01245, allocations: 8.031 kB / 0.883 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.01268, allocations: 62.3 kB / 0.8831 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.01345, allocations: 378.1 kB / 0.8835 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.01349, allocations: 20.88 kB / 0.8835 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.01359, allocations: 28.38 kB / 0.8835 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.01418, allocations: 315.6 kB / 0.8838 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01419, allocations: 4.125 kB / 0.8838 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.01422, allocations: 8.375 kB / 0.8838 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.01423, allocations: 4.375 kB / 0.8838 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.01472, allocations: 265.8 kB / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.01649, allocations: 0.7714 MB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.01725, allocations: 371.7 kB / 0.8852 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.01748, allocations: 132.8 kB / 0.8853 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.01751, allocations: 4 kB / 0.8853 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003899/0.0179, allocations: 223.8 kB / 0.8855 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.913e-06/0.0179, allocations: 1.031 kB / 0.8855 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.00103/0.01893, allocations: 494.8 kB / 0.886 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.01899, allocations: 55.91 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.01957, allocations: 416.5 kB / 0.8864 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.01964, allocations: 37.7 kB / 0.8865 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.01988, allocations: 196.8 kB / 0.8867 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.01995, allocations: 59.53 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.02016, allocations: 109.6 kB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.02036, allocations: 346.8 kB / 0.8872 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.02054, allocations: 95.94 kB / 0.8873 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.02151, allocations: 0.968 MB / 0.8882 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.02188, allocations: 244.3 kB / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02188, allocations: 0 / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005978/0.02248, allocations: 321.2 kB / 0.8887 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.0225, allocations: 8.047 kB / 0.8887 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.0225, allocations: 3.938 kB / 0.8887 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.02253, allocations: 4 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.02268, allocations: 36.11 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.02269, allocations: 0 / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/0.02343, allocations: 67.91 kB / 0.8889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.02345, allocations: 11.98 kB / 0.8889 GB, free: 10.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.intTimTab.idx,$PRE.u1Equ.intTimTab.idx,u1Equ.intTimTab.y[2],$PRE.u1Equ.intTimTab.y[2],u1Equ.intTimTab.y[1],$PRE.u1Equ.intTimTab.y[1],u1Equ.y[2],u1Equ.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002988/0.02375, allocations: 221.7 kB / 0.8891 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.02383, allocations: 39.7 kB / 0.8891 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.0245, allocations: 385 kB / 0.8895 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.02451, allocations: 0 / 0.8895 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02451, allocations: 0 / 0.8895 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.02452, allocations: 0 / 0.8895 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.0249, allocations: 273.2 kB / 0.8897 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0249, allocations: 0 / 0.8897 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.02501, allocations: 27.92 kB / 0.8898 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.02501, allocations: 0 / 0.8898 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.02504, allocations: 7.938 kB / 0.8898 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.02504, allocations: 0 / 0.8898 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02504, allocations: 0 / 0.8898 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.02565, allocations: 399.4 kB / 0.8902 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.02572, allocations: 35.75 kB / 0.8902 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.02576, allocations: 11.94 kB / 0.8902 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.02588, allocations: 7.984 kB / 0.8902 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.02596, allocations: 23.91 kB / 0.8902 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.02598, allocations: 4 kB / 0.8902 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003854/0.02637, allocations: 303 kB / 0.8905 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02637, allocations: 4 kB / 0.8905 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003812/0.02675, allocations: 75.89 kB / 0.8906 GB, free: 8.699 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Equ.y[1],u1Equ.y[2],u1Equ.intTimTab.y[1],u1Equ.intTimTab.y[2],u1Equ.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002331/0.02698, allocations: 122.4 kB / 0.8907 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.02749, allocations: 265.5 kB / 0.891 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0275, allocations: 3.938 kB / 0.891 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.02772, allocations: 138.1 kB / 0.8911 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.02802, allocations: 36.58 kB / 0.8911 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.02927, allocations: 0.6882 MB / 0.8918 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.02954, allocations: 215.9 kB / 0.892 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.02976, allocations: 82.22 kB / 0.8921 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.02985, allocations: 28.5 kB / 0.8921 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of SimCode: time 7.02e-07/0.02985, allocations: 4 kB / 0.8921 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of Templates: time 0.01123/0.04108, allocations: 5.082 MB / 0.8971 GB, free: 2.098 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.849907777039334]