Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002295/0.0002295, allocations: 0 / 0, free: 0 / 0 " [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.000211/0.000211, allocations: 0 / 0, free: 0 / 0 " [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.1/0.1, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.3204/0.3204, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.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: simulate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller,startTime=0,stopTime=1000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|u1EquValPum.y.[0-9,]+.|ctlFloMinVal.VPriSet_flow|VPri_flow.y|ctlFloMinPum.VPriSet_flow|VPri_flow1.y|ctlFloMinVal.y|ctlFloMinPum.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller,startTime=0,stopTime=1000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|u1EquValPum.y.[0-9,]+.|ctlFloMinVal.VPriSet_flow|VPri_flow.y|ctlFloMinPum.VPriSet_flow|VPri_flow1.y|ctlFloMinVal.y|ctlFloMinPum.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.088e-05/4.274e-05, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/MinimumFlow/Controller.mo:8:3-10:55:writable] Warning: Parameter ctlFloMinPum.use_valEqu has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(false, nEqu)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/MinimumFlow/Controller.mo:15:3-17:61:writable] Warning: Parameter ctlFloMinVal.use_pumPriDedEqu has no value, and is fixed during initialization (fixed=true), using available start value (start=fill(false, nEqu)) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller): time 0.005442/0.005484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003603/0.009088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.009521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0008001/0.01032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.01204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001504/0.01355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.01465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.01612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.01687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004616/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000435/0.01801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001642/0.01966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001778/0.01983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.304e-06/0.01984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.367e-05/0.01985, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.00232/0.02217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001127/0.02228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.02267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.02378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.02391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.02411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.02539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.02542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.02554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.02557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.02613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.0298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.03049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.03066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.03069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.03105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=69): time 6.542e-06/0.03106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=69): time 0.0006418/0.0317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.03174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.03237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001813/0.03255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.0329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.03308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.03339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.871e-05/0.03342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.03358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.03394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.0344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.0344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=89) (initialization): time 0.0006582/0.03506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.0351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.03511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.03514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.03551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.03553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.03601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.03606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003097/0.03637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003317/0.0367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000407/0.03711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.885e-06/0.03712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.0006435/0.03776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.03779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.0378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.03781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.03814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.03816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.03877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.03882, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1EquValPum.intTimTab.idx,$PRE.u1EquValPum.intTimTab.idx,u1EquValPum.intTimTab.y[2],$PRE.u1EquValPum.intTimTab.y[2],u1EquValPum.intTimTab.y[1],$PRE.u1EquValPum.intTimTab.y[1],u1EquValPum.y[2],u1EquValPum.y[1],ctlFloMinVal.anyValIsoOpeAndPumPriDed.y,ctlFloMinPum.anyValIsoOpeAndPumPriDed.y,$whenCondition6,$whenCondition7,ctlFloMinPum.notUseVal[1].y,ctlFloMinPum.notUseVal[2].y,ctlFloMinVal.notUsePumPriDed[1].y,ctlFloMinVal.notUsePumPriDed[2].y,ctlFloMinPum.notUsePumPriDed[1].y,ctlFloMinPum.notUsePumPriDed[2].y,ctlFloMinPum.phValIsoOpeOrNotUse[1].ph.y,ctlFloMinPum.phValIsoOpeOrNotUse[2].ph.y,ctlFloMinVal.notUseVal[1].y,ctlFloMinVal.notUseVal[2].y,ctlFloMinVal.phPumPriDedOrNotUse[1].ph.y,ctlFloMinVal.phPumPriDedOrNotUse[2].ph.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003153/0.03913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.03924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006644/0.03991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.03992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.03993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.03994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.04148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.04149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.0418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.04186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.04187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.04187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.04263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.04278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.04303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.04325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.04344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.04349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003762/0.04387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.029e-05/0.0439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001241/0.04514, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ctlFloMinPum.ctl.conPID.I.y,ctlFloMinVal.ctl.conPID.I.y) * Number of discrete variables: 14 (ctlFloMinPum.anyValIsoOpeAndPumPriDed.y,ctlFloMinVal.anyValIsoOpeAndPumPriDed.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1EquValPum.y[1],u1EquValPum.y[2],u1EquValPum.intTimTab.y[1],u1EquValPum.intTimTab.y[2],u1EquValPum.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 66 * 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.0004274/0.04557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0008355/0.0464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.0464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.04664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.04751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.04998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.05032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004424/0.05077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.05135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.498e-05/0.0514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003916/0.05531, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.MinimumFlow.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_MinimumFlow_Validation_Controller.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.207722491119057]