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.001694/0.001694, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002219/0.002219, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 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.395/3.395, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 65.16 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4168, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002461/0.4193, allocations: 0.9581 MB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.4214, allocations: 1.269 MB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4215, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.422, allocations: 111.6 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.4221, allocations: 63.73 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.4227, allocations: 173.7 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.4234, allocations: 0.55 MB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4236, allocations: 116.2 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.4239, allocations: 231.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.4242, allocations: 203.4 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.4243, allocations: 40 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.4245, allocations: 63.97 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003334/0.4248, allocations: 243.4 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.4251, allocations: 171.2 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007642/0.4258, allocations: 0.6696 MB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4258, allocations: 0 / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4258, allocations: 4 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.4258, allocations: 0 / 1.369 GB, free: 8.738 MB / 1.061 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.001318/0.4271, allocations: 0.6573 MB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4272, allocations: 11.97 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.4273, allocations: 48.66 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.4281, allocations: 370.8 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.4281, allocations: 28.75 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.4282, allocations: 32.38 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.4287, allocations: 307.7 kB / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4287, allocations: 192 / 1.37 GB, free: 7.242 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4287, allocations: 11.94 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4287, allocations: 8 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.4291, allocations: 257.6 kB / 1.37 GB, free: 6.965 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.4307, allocations: 0.7672 MB / 1.371 GB, free: 6.168 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.4314, allocations: 370.2 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.4316, allocations: 132.8 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4316, allocations: 4 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.432, allocations: 231.2 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.432, allocations: 0 / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.000829/0.4328, allocations: 482.6 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.4329, allocations: 59.39 kB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.4334, allocations: 420.5 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4334, allocations: 33.7 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.4336, allocations: 188.8 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.4337, allocations: 67.55 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.4338, allocations: 109.6 kB / 1.373 GB, free: 4.043 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.434, allocations: 342.8 kB / 1.373 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4342, allocations: 99.88 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.435, allocations: 0.969 MB / 1.374 GB, free: 2.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.4353, allocations: 228.6 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4353, allocations: 0 / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004888/0.4358, allocations: 317.2 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4358, allocations: 8 kB / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4358, allocations: 0 / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.4359, allocations: 7.984 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.436, allocations: 27.92 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.436, allocations: 4 kB / 1.375 GB, free: 1.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.4367, allocations: 63.88 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4367, allocations: 4 kB / 1.375 GB, free: 1.738 MB / 1.061 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.0003028/0.437, allocations: 233.6 kB / 1.375 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.4371, allocations: 27.81 kB / 1.375 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.4377, allocations: 382.5 kB / 1.376 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4377, allocations: 11.94 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4377, allocations: 0 / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4377, allocations: 3.984 kB / 1.376 GB, free: 1.078 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.4381, allocations: 277 kB / 1.376 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4381, allocations: 4 kB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/0.4382, allocations: 15.94 kB / 1.376 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4382, allocations: 11.94 kB / 1.376 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4382, allocations: 7.984 kB / 1.376 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4382, allocations: 4 kB / 1.376 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4382, allocations: 0 / 1.376 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.4387, allocations: 384.7 kB / 1.376 GB, free: 348 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4388, allocations: 35.78 kB / 1.376 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.4388, allocations: 4 kB / 1.376 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4389, allocations: 7.984 kB / 1.376 GB, free: 300 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.439, allocations: 15.98 kB / 1.376 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.439, allocations: 11.98 kB / 1.376 GB, free: 272 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003596/0.4394, allocations: 307 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4394, allocations: 0 / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003513/0.4397, allocations: 79.84 kB / 1.377 GB, free: 15.89 MB / 1.076 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.0002079/0.4399, allocations: 125.9 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.4404, allocations: 261.6 kB / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4404, allocations: 0 / 1.377 GB, free: 15.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4406, allocations: 135.9 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4409, allocations: 33.03 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4421, allocations: 0.6945 MB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4423, allocations: 215.5 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000193/0.4425, allocations: 74.25 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.4426, allocations: 31.42 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.4426, allocations: 0 / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of Templates: time 0.01059/0.4532, allocations: 5.304 MB / 1.383 GB, free: 9.07 MB / 1.076 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: 9.644247146323323]