Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition.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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004444/0.0004444, 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.000494/0.000494, 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.319/0.319, 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.7188/0.7188, 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|faiSafCon0.y|faiSafCon0.dpChiWatSet_local|faiSafCon0.dpChiWat_local|faiSafCon0.TChiWatSup|faiSafCon0.TChiWatSupSet|faiSafCon0.hysdpSup.y|faiSafCon0.hysTSup.y|faiSafCon1.y|faiSafCon1.dpChiWatSet_local|faiSafCon1.dpChiWat_local|faiSafCon1.TChiWatSup|faiSafCon1.TChiWatSupSet|faiSafCon1.hysdpSup.y|faiSafCon1.hysTSup.y|faiSafCon2.y|faiSafCon2.TChiWatSup|faiSafCon2.TChiWatSupSet|faiSafCon2.hysTSup.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|faiSafCon0.y|faiSafCon0.dpChiWatSet_local|faiSafCon0.dpChiWat_local|faiSafCon0.TChiWatSup|faiSafCon0.TChiWatSupSet|faiSafCon0.hysdpSup.y|faiSafCon0.hysTSup.y|faiSafCon1.y|faiSafCon1.dpChiWatSet_local|faiSafCon1.dpChiWat_local|faiSafCon1.TChiWatSup|faiSafCon1.TChiWatSupSet|faiSafCon1.hysdpSup.y|faiSafCon1.hysTSup.y|faiSafCon2.y|faiSafCon2.TChiWatSup|faiSafCon2.TChiWatSupSet|faiSafCon2.hysTSup.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.8e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition): time 0.008214/0.008232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005943/0.01418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/0.01476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000618/0.01538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.01597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.01731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001204/0.01851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.01909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.0205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.02069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.02085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.02103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.02137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001038/0.02241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.732e-05/0.02247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.88e-06/0.02248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.7e-05/0.02251, 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002634/0.02514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001215/0.02526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.02628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.02756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.02768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.02789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.02943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.02946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.02956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.02958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.03043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.0344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.03558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.03609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.03613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.03718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=43): time 9.197e-06/0.03719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=43): time 0.002554/0.03974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.04067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.04081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.04111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.0413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003958/0.0417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001982/0.0419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.04233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.04298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.04386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.04388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=73) (initialization): time 0.001848/0.04572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.04577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.0458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.04583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.0462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.04622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.04675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.04684, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.faiSafCon0.truDel.u,$PRE.faiSafCon0.truDel2.u,$PRE.faiSafCon1.truDel.u,$PRE.faiSafCon1.truDel2.u,$PRE.faiSafCon2.truDel.u,$PRE.faiSafCon0.truDel.t_next,$whenCondition13,$PRE.faiSafCon0.truDel2.t_next,$whenCondition10,faiSafCon0.truDel.t_next,faiSafCon0.truDel2.t_next,faiSafCon0.truDel2.y,faiSafCon0.truDel2.u,faiSafCon0.truDel.y,faiSafCon0.truDel.u,faiSafCon0.hysTSup.y,$PRE.faiSafCon0.hysTSup.y,faiSafCon0.hysdpSup.y,$PRE.faiSafCon0.hysdpSup.y,faiSafCon0.y,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition14,$PRE.faiSafCon1.truDel2.t_next,$whenCondition7,$PRE.faiSafCon1.truDel.t_next,$whenCondition4,faiSafCon1.truDel2.t_next,faiSafCon1.truDel2.y,faiSafCon1.truDel2.u,faiSafCon1.truDel.y,faiSafCon1.truDel.u,faiSafCon1.hysTSup.y,$PRE.faiSafCon1.hysTSup.y,faiSafCon1.hysdpSup.y,$PRE.faiSafCon1.hysdpSup.y,faiSafCon1.y,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,faiSafCon1.truDel.t_next,$PRE.faiSafCon2.truDel.t_next,$whenCondition1,faiSafCon2.truDel.y,faiSafCon2.truDel.u,faiSafCon2.hysTSup.y,$PRE.faiSafCon2.hysTSup.y,$whenCondition3,$whenCondition2,faiSafCon2.truDel.t_next,faiSafCon2.con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0004887/0.04733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.04762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.0478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.04781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.04782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.04783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.05153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.05153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.05167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.05169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.05178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.05179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.05179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.05388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.05416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.05446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.05503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.0554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.05551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000463/0.05597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.868e-06/0.05598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.00193/0.05791, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 (faiSafCon2.truDel.u,$whenCondition1,$whenCondition2,$whenCondition3,faiSafCon2.hysTSup.y,faiSafCon2.truDel.y,faiSafCon2.truDel.t_next,faiSafCon1.truDel2.u,faiSafCon1.truDel.u,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,faiSafCon1.y,faiSafCon1.hysdpSup.y,faiSafCon1.hysTSup.y,faiSafCon1.truDel.y,faiSafCon1.truDel.t_next,faiSafCon1.truDel2.y,faiSafCon1.truDel2.t_next,faiSafCon0.truDel2.u,faiSafCon0.truDel.u,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,faiSafCon0.y,faiSafCon0.hysdpSup.y,faiSafCon0.hysTSup.y,faiSafCon0.truDel.y,faiSafCon0.truDel.t_next,faiSafCon0.truDel2.y,faiSafCon0.truDel2.t_next) * Number of discrete states: 10 (faiSafCon0.truDel.t_next,faiSafCon0.truDel2.t_next,faiSafCon0.hysTSup.y,faiSafCon0.hysdpSup.y,faiSafCon1.truDel2.t_next,faiSafCon1.truDel.t_next,faiSafCon1.hysTSup.y,faiSafCon1.hysdpSup.y,faiSafCon2.truDel.t_next,faiSafCon2.hysTSup.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 33 * 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.0003772/0.05829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001349/0.05963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.05964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.0603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.06276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.06573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.06595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003536/0.06631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.0667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.436e-05/0.06677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002217/0.06898, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Staging.SetPoints.Subsequences.Validation.FailsafeCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Staging_SetPoints_Subsequences_Validation_FailsafeCondition.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: 2.6413703658618033]