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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 489.3 MB / 0.7687 GB, free: 3.723 MB / 0.6075 GB " [Timeout remaining time 176] 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=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 0.001958/0.001958, allocations: 67.89 kB / 1.103 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9333, allocations: 163.8 MB / 1.263 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002335/0.9357, allocations: 0.9942 MB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.9375, allocations: 1.266 MB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.9377, allocations: 3.5 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.9381, allocations: 103.6 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.9382, allocations: 61.77 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.9388, allocations: 173.5 kB / 1.265 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007249/0.9395, allocations: 0.5509 MB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.9398, allocations: 187.4 kB / 1.266 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.9401, allocations: 227.7 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.9405, allocations: 177.5 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.9406, allocations: 37.5 kB / 1.266 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.9408, allocations: 77.22 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.9412, allocations: 234.1 kB / 1.267 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.9415, allocations: 204.9 kB / 1.267 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000975/0.9425, allocations: 0.6651 MB / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9425, allocations: 0.6562 kB / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9425, allocations: 0 / 1.267 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9425, allocations: 0.75 kB / 1.267 GB, free: 5.383 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.001326/0.9438, allocations: 0.735 MB / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9439, allocations: 14.23 kB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.944, allocations: 46.59 kB / 1.268 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.9447, allocations: 439.8 kB / 1.269 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.9447, allocations: 23.67 kB / 1.269 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.9448, allocations: 30.31 kB / 1.269 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.9453, allocations: 313.4 kB / 1.269 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9453, allocations: 0.75 kB / 1.269 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.9454, allocations: 9.906 kB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.9454, allocations: 4.156 kB / 1.269 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.9458, allocations: 264.9 kB / 1.269 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.9473, allocations: 0.9496 MB / 1.27 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.948, allocations: 374.8 kB / 1.27 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.9482, allocations: 137.5 kB / 1.271 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.9483, allocations: 6.312 kB / 1.271 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.9486, allocations: 225.3 kB / 1.271 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.9486, allocations: 0 / 1.271 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0008762/0.9495, allocations: 494.2 kB / 1.271 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.9496, allocations: 57.12 kB / 1.271 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.9502, allocations: 471 kB / 1.272 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.9503, allocations: 38.92 kB / 1.272 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.9504, allocations: 185.3 kB / 1.272 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.9505, allocations: 63.03 kB / 1.272 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.9507, allocations: 108.6 kB / 1.272 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.9508, allocations: 344.6 kB / 1.272 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.9509, allocations: 97.88 kB / 1.273 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.9514, allocations: 419.6 kB / 1.273 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.9517, allocations: 235.9 kB / 1.273 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9517, allocations: 5.484 kB / 1.273 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000472/0.9522, allocations: 315.3 kB / 1.274 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9522, allocations: 6.922 kB / 1.274 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9522, allocations: 2.25 kB / 1.274 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9522, allocations: 2.469 kB / 1.274 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.9524, allocations: 33.09 kB / 1.274 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.9524, allocations: 4.766 kB / 1.274 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.9531, allocations: 70.64 kB / 1.274 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.9532, allocations: 10.19 kB / 1.274 GB, free: 1.781 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.0002139/0.9534, allocations: 221.3 kB / 1.274 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.9534, allocations: 30.62 kB / 1.274 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.954, allocations: 383.4 kB / 1.274 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.954, allocations: 5.875 kB / 1.274 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.954, allocations: 1.469 kB / 1.274 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.954, allocations: 2.953 kB / 1.274 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.9544, allocations: 380.2 kB / 1.275 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9544, allocations: 3.984 kB / 1.275 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.609e-05/0.9545, allocations: 31.09 kB / 1.275 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9546, allocations: 1.406 kB / 1.275 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.9546, allocations: 2.781 kB / 1.275 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.9546, allocations: 6.219 kB / 1.275 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.9546, allocations: 0 / 1.275 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.9551, allocations: 403.8 kB / 1.275 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.9552, allocations: 118.4 kB / 1.275 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.9553, allocations: 1.578 kB / 1.275 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.9554, allocations: 10.64 kB / 1.275 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.9555, allocations: 22.78 kB / 1.275 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.9555, allocations: 7.047 kB / 1.275 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004632/0.956, allocations: 344.8 kB / 1.276 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.956, allocations: 5.062 kB / 1.276 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004244/0.9564, allocations: 72.25 kB / 1.276 GB, free: 0.6875 MB / 0.9981 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.0001927/0.9566, allocations: 127.5 kB / 1.276 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.9571, allocations: 268.7 kB / 1.276 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9571, allocations: 0 / 1.276 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.9573, allocations: 159.8 kB / 1.276 GB, free: 460 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.9576, allocations: 35.97 kB / 1.276 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.9587, allocations: 0.7249 MB / 1.277 GB, free: 36 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.9592, allocations: 0.8204 MB / 1.278 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.9593, allocations: 35.94 kB / 1.278 GB, free: 15.3 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9593, allocations: 0 / 1.278 GB, free: 15.3 MB / 1.014 GB Notification: Performance of Templates: time 0.01009/0.9694, allocations: 5.068 MB / 1.283 GB, free: 14.83 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.53802804579027]