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.001855/0.001855, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002211/0.002211, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.967/2.967, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 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 2.425e-06/2.425e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/3.008e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Setpoint): time 0.002583/0.002613, allocations: 0.9616 MB / 0.8117 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.005006, allocations: 1.277 MB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005141, allocations: 4 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.005625, allocations: 109.4 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.005807, allocations: 67.67 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.006506, allocations: 169.1 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000836/0.007342, allocations: 0.5587 MB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.007631, allocations: 113.1 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.008234, allocations: 299.6 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.008659, allocations: 185.3 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.00881, allocations: 36 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.009038, allocations: 63.97 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.009424, allocations: 245 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.009736, allocations: 147.6 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.0108, allocations: 0.7206 MB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.01081, allocations: 4 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01081, allocations: 1.75 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.01083, allocations: 0 / 0.8156 GB, free: 13.21 MB / 0.7761 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.001613/0.01244, allocations: 0.6507 MB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.01248, allocations: 15.97 kB / 0.8162 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.01273, allocations: 64.66 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.01352, allocations: 384.6 kB / 0.8167 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.01357, allocations: 24.88 kB / 0.8167 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.01366, allocations: 28.38 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.01424, allocations: 308.5 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01425, allocations: 192 / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.01428, allocations: 4.375 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.01429, allocations: 8.375 kB / 0.817 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.01477, allocations: 266.5 kB / 0.8173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01655, allocations: 0.7814 MB / 0.818 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.01728, allocations: 366.2 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.01752, allocations: 136.8 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.01755, allocations: 0 / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.01793, allocations: 226.6 kB / 0.8187 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.01793, allocations: 0 / 0.8187 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0009403/0.01887, allocations: 491.6 kB / 0.8192 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.01894, allocations: 64.55 kB / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.01962, allocations: 412.5 kB / 0.8197 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.184e-05/0.0197, allocations: 41.7 kB / 0.8197 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.01994, allocations: 190.2 kB / 0.8199 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.02002, allocations: 59.61 kB / 0.8199 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.02022, allocations: 109.6 kB / 0.82 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.02043, allocations: 343.9 kB / 0.8204 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.0206, allocations: 95.94 kB / 0.8205 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.02164, allocations: 0.9669 MB / 0.8214 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.02202, allocations: 234.3 kB / 0.8216 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.02202, allocations: 6.094 kB / 0.8216 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006408/0.02266, allocations: 314.2 kB / 0.8219 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.02269, allocations: 11.94 kB / 0.822 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02269, allocations: 0.5312 kB / 0.822 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.02273, allocations: 10.55 kB / 0.822 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.02289, allocations: 31.92 kB / 0.822 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.0229, allocations: 4 kB / 0.822 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/0.02367, allocations: 63.86 kB / 0.8221 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.02369, allocations: 5.719 kB / 0.8221 GB, free: 6.195 MB / 0.7761 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.0003137/0.024, allocations: 227 kB / 0.8223 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.02407, allocations: 39.75 kB / 0.8223 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.02473, allocations: 376.5 kB / 0.8227 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.02474, allocations: 8.5 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02474, allocations: 1.688 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.02474, allocations: 3.938 kB / 0.8227 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.02511, allocations: 273.1 kB / 0.8229 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.02512, allocations: 4 kB / 0.823 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.02522, allocations: 20 kB / 0.823 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.02522, allocations: 4.781 kB / 0.823 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.02524, allocations: 7.922 kB / 0.823 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.02525, allocations: 4.656 kB / 0.823 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02525, allocations: 0 / 0.823 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.02587, allocations: 398.6 kB / 0.8234 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.02595, allocations: 39.73 kB / 0.8234 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.02599, allocations: 11.94 kB / 0.8234 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.0261, allocations: 7.984 kB / 0.8234 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.02617, allocations: 15.97 kB / 0.8234 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.0262, allocations: 12 kB / 0.8235 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003855/0.02659, allocations: 299 kB / 0.8237 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02659, allocations: 0 / 0.8237 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003779/0.02697, allocations: 75.89 kB / 0.8238 GB, free: 4.344 MB / 0.7761 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.0002258/0.02719, allocations: 121 kB / 0.8239 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.02769, allocations: 260.7 kB / 0.8242 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0277, allocations: 0 / 0.8242 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.02791, allocations: 137 kB / 0.8243 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.02821, allocations: 35.83 kB / 0.8243 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.02949, allocations: 0.6989 MB / 0.825 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.02976, allocations: 217.4 kB / 0.8252 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.02997, allocations: 82.03 kB / 0.8253 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.03005, allocations: 24.5 kB / 0.8253 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.03005, allocations: 1.344 kB / 0.8253 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.01125/0.0413, allocations: 5.086 MB / 0.8303 GB, free: 13.76 MB / 0.7917 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.138158189016394]