Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl.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.0003283/0.0003283, 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.0002814/0.0002814, 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.1507/0.1507, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.3345/0.3345, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: simulate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|ctlPumPriHdrHea.u1PumHeaWatPri.[0-9,]+.|ctlPumPriHdrHea.yPumHeaWatPriHdr|ctlPumPriHdr.u1PumHeaWatPri.[0-9,]+.|ctlPumPriHdr.u1PumChiWatPri.[0-9,]+.|ctlPumPriHdr.yPumHeaWatPriHdr|ctlPumPriHdr.yPumChiWatPriHdr|ctlPumPriDedCom.u1PumHeaWatPri.[0-9,]+.|ctlPumPriDedCom.u1Hea.[0-9,]+.|ctlPumPriDedCom.yPumHeaWatPriDed.[0-9,]+.|ctlPumPriDedSep.u1PumHeaWatPri.[0-9,]+.|ctlPumPriDedSep.u1PumChiWatPri.[0-9,]+.|ctlPumPriDedSep.yPumHeaWatPriDed.[0-9,]+.|ctlPumPriDedSep.yPumChiWatPriDed.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl,startTime=0,stopTime=900,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|ctlPumPriHdrHea.u1PumHeaWatPri.[0-9,]+.|ctlPumPriHdrHea.yPumHeaWatPriHdr|ctlPumPriHdr.u1PumHeaWatPri.[0-9,]+.|ctlPumPriHdr.u1PumChiWatPri.[0-9,]+.|ctlPumPriHdr.yPumHeaWatPriHdr|ctlPumPriHdr.yPumChiWatPriHdr|ctlPumPriDedCom.u1PumHeaWatPri.[0-9,]+.|ctlPumPriDedCom.u1Hea.[0-9,]+.|ctlPumPriDedCom.yPumHeaWatPriDed.[0-9,]+.|ctlPumPriDedSep.u1PumHeaWatPri.[0-9,]+.|ctlPumPriDedSep.u1PumChiWatPri.[0-9,]+.|ctlPumPriDedSep.yPumHeaWatPriDed.[0-9,]+.|ctlPumPriDedSep.yPumChiWatPriDed.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.521e-05, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:15:3-19:50:writable] Warning: Parameter ctlPumPriHdrHea.have_pumChiWatPriDed has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:28:3-32:43:writable] Warning: Parameter ctlPumPriHdrHea.nEqu has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:37:3-42:33:writable] Warning: Parameter ctlPumPriHdrHea.nPumChiWatPri has no value, and is fixed during initialization (fixed=true), using available start value (start=if have_chiWat and have_pumChiWatPri then nEqu else 0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:52:3-60:27:writable] Warning: Parameter ctlPumPriHdrHea.yPumChiWatPriSet has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:15:3-19:50:writable] Warning: Parameter ctlPumPriHdr.have_pumChiWatPriDed has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Pumps/Primary/VariableSpeedNoDpControl.mo:37:3-42:33:writable] Warning: Parameter ctlPumPriDedCom.nPumChiWatPri has no value, and is fixed during initialization (fixed=true), using available start value (start=if have_chiWat and have_pumChiWatPri then nEqu else 0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl): time 0.002643/0.002668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002065/0.004733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.004927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.005554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.00574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.006425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001069/0.007494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005818/0.008076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.009105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.009405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.009496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.009632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.009934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007571/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.067e-05/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.573e-06/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.302e-05/0.011, 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001229/0.01223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/0.0123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.01303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.0131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.01321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.01386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.01387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.01409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.01568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.0157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.01588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.01589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=30): time 0.0002723/0.01616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.01619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.01647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.935e-05/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.01676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.01692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.645e-05/0.01696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002204/0.01757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.01758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.01769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.0177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.01797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01799, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ctlPumPriDedSep.anyPumHeaWatPri.y,ctlPumPriDedSep.anyPumChiWatPri.y,ctlPumPriDedSep.u1PumHeaWatPri[1],ctlPumPriDedCom.anyPumHeaWatPri.y,u1Coo[2].y,ctlPumPriHdr.anyPumHeaWatPri.y,ctlPumPriHdr.anyPumChiWatPri.y,u1.intTimTab.idx,$PRE.u1.intTimTab.idx,u1.intTimTab.y[2],$PRE.u1.intTimTab.y[2],u1.intTimTab.y[1],$PRE.u1.intTimTab.y[1],ctlPumPriHdrHea.anyPumHeaWatPri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001734/0.01816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.0182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.748e-05/0.01827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.01881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.01883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.01911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.01922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.01929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.01937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.01939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001611/0.01955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.142e-05/0.01956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002973/0.01986, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (ctlPumPriHdr.anyPumHeaWatPri.y,ctlPumPriDedCom.anyPumHeaWatPri.y,ctlPumPriDedSep.anyPumHeaWatPri.y,ctlPumPriDedSep.anyPumChiWatPri.y,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ctlPumPriHdrHea.anyPumHeaWatPri.y,u1.intTimTab.y[1],u1.intTimTab.y[2],u1.intTimTab.idx,ctlPumPriHdr.anyPumChiWatPri.y,u1Coo[2].y,ctlPumPriDedSep.u1PumHeaWatPri[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.0001986/0.02005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002324/0.02029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.02029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.02036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.02073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.02156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.02167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001226/0.02179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.536e-05/0.02207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002076/0.02414, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.VariableSpeedNoDpControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_VariableSpeedNoDpControl.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.18731870315969]