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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110.6 kB / 16.62 MB, free: 5.586 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.001227/0.001227, allocations: 188.7 kB / 17.61 MB, free: 4.762 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.458/1.458, allocations: 225.6 MB / 244.1 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.241/3.241, allocations: 489.7 MB / 0.7682 GB, free: 33.65 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 65.48 kB / 1.117 GB, free: 36.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4006, allocations: 172.1 MB / 1.285 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002515/0.4031, allocations: 1.017 MB / 1.286 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4053, allocations: 1.26 MB / 1.287 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.4054, allocations: 11.94 kB / 1.287 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.406, allocations: 107.6 kB / 1.287 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.4061, allocations: 67.67 kB / 1.287 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.4069, allocations: 160.7 kB / 1.287 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.4077, allocations: 0.5578 MB / 1.288 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.408, allocations: 151.7 kB / 1.288 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.4083, allocations: 219.6 kB / 1.288 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.4086, allocations: 199.4 kB / 1.288 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.4087, allocations: 40 kB / 1.288 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4089, allocations: 71.91 kB / 1.288 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.4092, allocations: 239.5 kB / 1.289 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.4095, allocations: 199.1 kB / 1.289 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.4103, allocations: 0.6696 MB / 1.29 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4103, allocations: 0 / 1.29 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4103, allocations: 0 / 1.29 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.4103, allocations: 0 / 1.29 GB, free: 7.844 MB / 0.9981 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.4117, allocations: 0.7364 MB / 1.29 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4117, allocations: 8.031 kB / 1.29 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4118, allocations: 44.7 kB / 1.29 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.4125, allocations: 436.6 kB / 1.291 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.4125, allocations: 24.81 kB / 1.291 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.4126, allocations: 28.38 kB / 1.291 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.4132, allocations: 307.7 kB / 1.291 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4132, allocations: 192 / 1.291 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.4132, allocations: 11.94 kB / 1.291 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4132, allocations: 8 kB / 1.291 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.4136, allocations: 257.6 kB / 1.291 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.4152, allocations: 0.9586 MB / 1.292 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.4159, allocations: 373.6 kB / 1.293 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.4161, allocations: 132.8 kB / 1.293 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4161, allocations: 4 kB / 1.293 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.4165, allocations: 229.4 kB / 1.293 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.4165, allocations: 3.938 kB / 1.293 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0008387/0.4174, allocations: 481.1 kB / 1.293 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4174, allocations: 59.39 kB / 1.293 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.418, allocations: 477.6 kB / 1.294 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.418, allocations: 37.7 kB / 1.294 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.4182, allocations: 180.9 kB / 1.294 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4183, allocations: 63.55 kB / 1.294 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.4185, allocations: 109.6 kB / 1.294 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4186, allocations: 350.8 kB / 1.295 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4188, allocations: 103.9 kB / 1.295 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.4193, allocations: 420.7 kB / 1.295 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4197, allocations: 239.8 kB / 1.295 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4197, allocations: 0 / 1.295 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004806/0.4201, allocations: 315.3 kB / 1.296 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4202, allocations: 7.984 kB / 1.296 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4202, allocations: 0 / 1.296 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4202, allocations: 4 kB / 1.296 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4203, allocations: 31.92 kB / 1.296 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4204, allocations: 4.188 kB / 1.296 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.421, allocations: 73.91 kB / 1.296 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.421, allocations: 8 kB / 1.296 GB, free: 1.086 MB / 0.9981 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.0002629/0.4213, allocations: 226.2 kB / 1.296 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.4214, allocations: 31.88 kB / 1.296 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.4219, allocations: 395.1 kB / 1.296 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4219, allocations: 0 / 1.296 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4219, allocations: 0 / 1.296 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4219, allocations: 4 kB / 1.296 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.4224, allocations: 389.2 kB / 1.297 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4224, allocations: 0 / 1.297 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.4225, allocations: 24.03 kB / 1.297 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4225, allocations: 4 kB / 1.297 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4225, allocations: 4 kB / 1.297 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4225, allocations: 4 kB / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4225, allocations: 0 / 1.297 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.423, allocations: 392.7 kB / 1.297 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4232, allocations: 112.9 kB / 1.297 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4232, allocations: 7.984 kB / 1.297 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4233, allocations: 8 kB / 1.297 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.4234, allocations: 27.91 kB / 1.297 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.4234, allocations: 8 kB / 1.297 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003824/0.4238, allocations: 343.1 kB / 1.298 GB, free: 15.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4238, allocations: 4 kB / 1.298 GB, free: 15.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003619/0.4241, allocations: 83.77 kB / 1.298 GB, free: 14.96 MB / 1.014 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.0002215/0.4244, allocations: 115.4 kB / 1.298 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.4248, allocations: 259.7 kB / 1.298 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4248, allocations: 0 / 1.298 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.425, allocations: 132.2 kB / 1.298 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.4253, allocations: 41.36 kB / 1.298 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4265, allocations: 0.7057 MB / 1.299 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.427, allocations: 0.8224 MB / 1.3 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.4272, allocations: 78.23 kB / 1.3 GB, free: 12.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.4272, allocations: 23.44 kB / 1.3 GB, free: 12.73 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.4272, allocations: 4 kB / 1.3 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Templates: time 0.0111/0.4383, allocations: 5.012 MB / 1.305 GB, free: 7.762 MB / 1.014 GB 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint.pipe 2>&1) [Timeout 400] 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] Reference file matches