Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002083/0.002083, allocations: 165.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.881/2.881, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/4.15e-05, allocations: 8.891 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002353/0.002395, allocations: 0.9504 MB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.004461, allocations: 1.279 MB / 0.9836 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.004566, allocations: 8 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.005025, allocations: 111.5 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.005147, allocations: 63.66 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.005768, allocations: 178.5 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007111/0.006479, allocations: 0.5461 MB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.00673, allocations: 112.3 kB / 0.9846 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.007091, allocations: 303.5 kB / 0.9848 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.007407, allocations: 187.6 kB / 0.985 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.007526, allocations: 40 kB / 0.9851 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.007722, allocations: 71.95 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.008065, allocations: 235.5 kB / 0.9854 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.008287, allocations: 147.6 kB / 0.9855 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.009182, allocations: 0.7285 MB / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.009186, allocations: 0 / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.009187, allocations: 0 / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.009195, allocations: 0 / 0.9862 GB, free: 7.074 MB / 0.9356 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.001378/0.01057, allocations: 0.6612 MB / 0.9869 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01062, allocations: 8.031 kB / 0.9869 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.01076, allocations: 44.7 kB / 0.9869 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006536/0.01142, allocations: 370.1 kB / 0.9873 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.01145, allocations: 24.88 kB / 0.9873 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.01154, allocations: 36.36 kB / 0.9873 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.01206, allocations: 308.5 kB / 0.9876 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.01207, allocations: 192 / 0.9876 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.0121, allocations: 12.36 kB / 0.9876 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01211, allocations: 4.375 kB / 0.9876 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.01254, allocations: 261.8 kB / 0.9879 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01407, allocations: 0.7714 MB / 0.9886 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.01479, allocations: 382.2 kB / 0.989 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.01499, allocations: 128.8 kB / 0.9891 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01502, allocations: 4 kB / 0.9891 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.01538, allocations: 227.2 kB / 0.9893 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.01538, allocations: 0 / 0.9893 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0008388/0.01622, allocations: 487.6 kB / 0.9898 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.01627, allocations: 55.41 kB / 0.9899 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.01676, allocations: 412.5 kB / 0.9902 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.01683, allocations: 37.7 kB / 0.9903 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.01702, allocations: 192.8 kB / 0.9905 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.01709, allocations: 63.61 kB / 0.9905 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.01727, allocations: 117.5 kB / 0.9906 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.01743, allocations: 338.8 kB / 0.991 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.01758, allocations: 95.94 kB / 0.9911 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.01842, allocations: 0.9708 MB / 0.992 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01874, allocations: 235.9 kB / 0.9922 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01874, allocations: 0 / 0.9922 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000498/0.01924, allocations: 319.7 kB / 0.9925 GB, free: 180 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01926, allocations: 7.938 kB / 0.9925 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01926, allocations: 3.938 kB / 0.9925 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01928, allocations: 4 kB / 0.9925 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.01942, allocations: 27.98 kB / 0.9926 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.01943, allocations: 3.938 kB / 0.9926 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.02018, allocations: 76.03 kB / 0.9926 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.0202, allocations: 8 kB / 0.9927 GB, free: 48 kB / 0.9356 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.0002742/0.02047, allocations: 218.2 kB / 0.9929 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.02052, allocations: 35.8 kB / 0.9929 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.02111, allocations: 379.9 kB / 0.9933 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.02111, allocations: 4 kB / 0.9933 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.02112, allocations: 4 kB / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.02112, allocations: 3.984 kB / 0.9933 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.02145, allocations: 273.1 kB / 0.9935 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02145, allocations: 0 / 0.9935 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.02155, allocations: 27.92 kB / 0.9936 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.02155, allocations: 0 / 0.9936 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.02158, allocations: 7.938 kB / 0.9936 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02158, allocations: 0 / 0.9936 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.02158, allocations: 0 / 0.9936 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.02213, allocations: 390.4 kB / 0.9939 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.02218, allocations: 27.8 kB / 0.994 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.02223, allocations: 19.92 kB / 0.994 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.02234, allocations: 12 kB / 0.994 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.0224, allocations: 15.97 kB / 0.994 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.02242, allocations: 8 kB / 0.994 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003382/0.02276, allocations: 299 kB / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02276, allocations: 0 / 0.9943 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003515/0.02311, allocations: 83.83 kB / 0.9944 GB, free: 14.21 MB / 0.9512 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.000204/0.02331, allocations: 123.1 kB / 0.9945 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.02377, allocations: 266 kB / 0.9948 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02377, allocations: 3.938 kB / 0.9948 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.02397, allocations: 131.9 kB / 0.9949 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.02424, allocations: 26.83 kB / 0.9949 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02533, allocations: 0.6787 MB / 0.9956 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.02557, allocations: 223.8 kB / 0.9958 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.02575, allocations: 82.22 kB / 0.9959 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.02583, allocations: 24.5 kB / 0.9959 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.02583, allocations: 0 / 0.9959 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.01022/0.03605, allocations: 5.062 MB / 1.001 GB, free: 7.645 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Setpoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.475586216896772]