Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.0003898/0.0003898, 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.0002866/0.0002866, 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.1552/0.1552, 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.397/0.397, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.Pumps.Primary.Validation.DisableDedicated,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.279e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.001105/0.001138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001328/0.002466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.002563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.002666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 8.206e-05/0.002749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.003212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002486/0.003461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.003798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.003926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.003972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.004022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.004068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.004164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.004417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.864e-05/0.004445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.92e-07/0.004446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.054e-05/0.004457, 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006405/0.005097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.005143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.005222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.005426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.005477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.005536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.005738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.005771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.005775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.005858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.006452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.006606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.006645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.006649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.006808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.00681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=35): time 0.0002244/0.007035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.00706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.714e-05/0.007127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.0072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.007256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.007292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.007421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001276/0.007549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.007658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.007779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.007944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.007947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003191/0.008266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.008301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.008321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.114e-05/0.008362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.008372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.008542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.008588, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDedReq.lat.y,$PRE.enaDedReq.lat.y,enaDedReq.lat.clr,enaDedReq.lat.u,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,enaDed.lat.y,$PRE.enaDed.lat.y,enaDed.lat.clr,enaDed.lat.u,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,$whenCondition14,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 4 * 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.0001168/0.008705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.008728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.008763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.008765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.00877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.008773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.009094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.009096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.009119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.009146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.009148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.009291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.009315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.009372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.009427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.009481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.009498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.67e-05/0.009525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.414e-06/0.009527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002317/0.009759, 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: 33 (enaDed.lat.clr,enaDedReq.lat.clr,enaDed.lat.u,enaDedReq.lat.u,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001557/0.009915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003197/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.01031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.0106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.01102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.925e-05/0.01107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.01124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.392e-05/0.01125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001387/0.01264, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.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.2436795644462109]