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.000708/0.000708, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009937/0.001702, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006941/0.0006941, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.001639, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9515/0.9515, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07744/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.823/1.823, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4473/2.271, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|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.[0-9,]+.|setFloMin.ratFloMinEna.[0-9,]+..y|setFloMin.maxRatFloMinEna.y|setFloMin.V_flow_min.[0-9,]+.|setFloMin.VPriSet_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.753e-05, allocations: 3.766 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002483/0.00251, allocations: 1.034 MB / 0.7306 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004174, allocations: 1.307 MB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.004265, allocations: 4 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.004647, allocations: 119.7 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.004765, allocations: 72.09 kB / 0.7321 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.005303, allocations: 183.4 kB / 0.7323 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.00596, allocations: 0.576 MB / 0.7328 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.006183, allocations: 123.8 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.00654, allocations: 312.1 kB / 0.7332 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.006792, allocations: 155.7 kB / 0.7334 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.006874, allocations: 37.41 kB / 0.7334 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.007071, allocations: 67.91 kB / 0.7335 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.007267, allocations: 135.7 kB / 0.7336 GB, free: 408 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.007419, allocations: 92.44 kB / 0.7337 GB, free: 316 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.007958, allocations: 406.7 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.007969, allocations: 0.7812 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00797, allocations: 0 / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.007986, allocations: 0.625 kB / 0.7341 GB, free: 15.91 MB / 0.7136 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.001078/0.009064, allocations: 0.6564 MB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.009114, allocations: 12.94 kB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.009244, allocations: 44.89 kB / 0.7348 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.00967, allocations: 282.8 kB / 0.7351 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.009706, allocations: 20.88 kB / 0.7351 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.009789, allocations: 32.38 kB / 0.7351 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.01007, allocations: 169.9 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01009, allocations: 192 / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.01011, allocations: 8.375 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01012, allocations: 4.375 kB / 0.7353 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.01025, allocations: 56.22 kB / 0.7353 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.01126, allocations: 0.4923 MB / 0.7358 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.01162, allocations: 192.4 kB / 0.736 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.01169, allocations: 36.78 kB / 0.736 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.01171, allocations: 0 / 0.736 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.01194, allocations: 151.7 kB / 0.7362 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.01194, allocations: 1.25 kB / 0.7362 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003329/0.01227, allocations: 166.6 kB / 0.7363 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.01231, allocations: 55.41 kB / 0.7364 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.01257, allocations: 276.7 kB / 0.7367 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.01263, allocations: 37.7 kB / 0.7367 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01275, allocations: 157.4 kB / 0.7368 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.01281, allocations: 55.52 kB / 0.7369 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.01296, allocations: 93.58 kB / 0.737 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.0131, allocations: 343.9 kB / 0.7373 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.01316, allocations: 30.81 kB / 0.7373 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.01363, allocations: 0.7882 MB / 0.7381 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.0138, allocations: 136 kB / 0.7382 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01381, allocations: 0 / 0.7382 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002577/0.01406, allocations: 156.5 kB / 0.7384 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01409, allocations: 8 kB / 0.7384 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01409, allocations: 0 / 0.7384 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01411, allocations: 4.531 kB / 0.7384 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01426, allocations: 41.34 kB / 0.7384 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.01426, allocations: 7.984 kB / 0.7385 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.01461, allocations: 47.78 kB / 0.7385 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01463, allocations: 8 kB / 0.7385 GB, free: 11 MB / 0.7136 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.0001426/0.01477, allocations: 138.3 kB / 0.7386 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.01482, allocations: 27.97 kB / 0.7387 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.01506, allocations: 146.6 kB / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01507, allocations: 0 / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01507, allocations: 0 / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01507, allocations: 5.125 kB / 0.7388 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01528, allocations: 161.6 kB / 0.739 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01528, allocations: 3.938 kB / 0.739 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.01537, allocations: 24.73 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.01541, allocations: 31.75 kB / 0.739 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01542, allocations: 0.75 kB / 0.739 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.01544, allocations: 11.98 kB / 0.739 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.01544, allocations: 4.641 kB / 0.739 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01544, allocations: 3.984 kB / 0.739 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.01567, allocations: 170.2 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.01571, allocations: 4 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.01578, allocations: 11.94 kB / 0.7392 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.01585, allocations: 30.8 kB / 0.7392 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.01587, allocations: 5.25 kB / 0.7393 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000144/0.01601, allocations: 108.6 kB / 0.7394 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01601, allocations: 0 / 0.7394 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003078/0.01632, allocations: 77.08 kB / 0.7394 GB, free: 9.996 MB / 0.7136 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.0001811/0.0165, allocations: 97.34 kB / 0.7395 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.01674, allocations: 121.6 kB / 0.7396 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.01675, allocations: 4 kB / 0.7396 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01686, allocations: 73.89 kB / 0.7397 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01715, allocations: 196.5 kB / 0.7399 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.01834, allocations: 0.5563 MB / 0.7404 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.01844, allocations: 120.1 kB / 0.7406 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.01857, allocations: 40.58 kB / 0.7406 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.01882, allocations: 111.3 kB / 0.7407 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.01882, allocations: 0 / 0.7407 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of Templates: time 0.01007/0.02889, allocations: 5.778 MB / 0.7463 GB, free: 3.086 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint/Buildings_12_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.81456995010376]