Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.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.0002944/0.0002944, 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.0003786/0.0003786, 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.2987/0.2987, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.6365/0.6365, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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: simulate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,startTime=0,stopTime=5000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,startTime=0,stopTime=5000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 6.61e-07/6.61e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.499e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition): time 0.01035/0.01037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008073/0.01844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.01924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.01993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0008815/0.02081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.02295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001643/0.0246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.0258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.0275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.02807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.02837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.02863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000256/0.02888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005253/0.02941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001808/0.03122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.634e-05/0.03131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.324e-06/0.03131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.646e-05/0.03133, 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003574/0.0349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001093/0.03501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.03626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.03847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.03863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.03894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.04154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.04159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.04179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.04359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006285/0.04987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.05184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.05267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.05271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/0.05424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=68): time 1.211e-05/0.05425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=68): time 0.00409/0.05834, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.05841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.05969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.05992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.06039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.06071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006289/0.06134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004011/0.06174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008249/0.06257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.06358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.06491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.06493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=93) (initialization): time 0.002691/0.06762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.06767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.06769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.06771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.06822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.06824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.06888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.06904, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 73 (faiSafCooPri.timPriSet.passed,$PRE.faiSafCooPri.timPriSet.passed,$whenCondition11,$whenCondition12,booPul.y,$PRE.booPul.y,$whenCondition4,faiSafHea.timSecSet.passed,$PRE.faiSafHea.timSecSet.passed,faiSafHea.ph.y,faiSafHea.y1,faiSafHea.timSecPri.passed,$PRE.faiSafHea.timSecPri.passed,faiSafHea.timPriSet.passed,$PRE.faiSafHea.timPriSet.passed,faiSafHea.timSecSet.entryTime,$PRE.faiSafHea.timSecSet.entryTime,faiSafHea.lesSecSet.lesHys.y,$PRE.faiSafHea.lesSecSet.lesHys.y,faiSafHea.timSecPri.entryTime,$PRE.faiSafHea.timSecPri.entryTime,faiSafHea.timPriSet.entryTime,$PRE.faiSafHea.timPriSet.entryTime,faiSafHea.lesSecPri.lesHys.y,$PRE.faiSafHea.lesSecPri.lesHys.y,faiSafHea.lesPriSet.lesHys.y,$PRE.faiSafHea.lesPriSet.lesHys.y,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition10,$whenCondition9,$whenCondition8,faiSafCoo.timSecSet.entryTime,$PRE.faiSafCoo.timSecSet.entryTime,faiSafCoo.lesSecSet.lesHys.y,$PRE.faiSafCoo.lesSecSet.lesHys.y,faiSafCoo.timSecPri.entryTime,$PRE.faiSafCoo.timSecPri.entryTime,faiSafCoo.timPriSet.entryTime,$PRE.faiSafCoo.timPriSet.entryTime,faiSafCoo.lesSecPri.lesHys.y,$PRE.faiSafCoo.lesSecPri.lesHys.y,faiSafCoo.lesPriSet.lesHys.y,$PRE.faiSafCoo.lesPriSet.lesHys.y,faiSafCooPri.timPriSet.entryTime,$PRE.faiSafCooPri.timPriSet.entryTime,faiSafCooPri.lesPriSet.lesHys.y,$PRE.faiSafCooPri.lesPriSet.lesHys.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition24,$whenCondition23,$whenCondition22,faiSafCoo.timSecSet.passed,$PRE.faiSafCoo.timSecSet.passed,faiSafCoo.ph.y,faiSafCoo.y1,faiSafCoo.timSecPri.passed,$PRE.faiSafCoo.timSecPri.passed,faiSafCoo.timPriSet.passed,$PRE.faiSafCoo.timPriSet.passed,faiSafCooPri.ph.ph.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 1 * 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.0007328/0.06977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.07017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.07045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.07046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.07047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.07048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.07502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.07503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.07535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.07536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.0755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.07551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.07551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.07854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.0789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/0.07929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.07984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/0.08053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.0807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006272/0.08133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.301e-05/0.08134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001668/0.08301, 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: 50 ($whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,faiSafHea.lesPriSet.lesHys.y,faiSafHea.lesSecPri.lesHys.y,faiSafHea.timPriSet.passed,faiSafHea.timPriSet.entryTime,faiSafHea.timSecPri.passed,faiSafHea.timSecPri.entryTime,faiSafHea.y1,faiSafHea.ph.y,faiSafHea.lesSecSet.lesHys.y,faiSafHea.timSecSet.passed,faiSafHea.timSecSet.entryTime,booPul.y,faiSafCooPri.lesPriSet.lesHys.y,faiSafCooPri.timPriSet.passed,faiSafCooPri.timPriSet.entryTime,faiSafCoo.lesPriSet.lesHys.y,faiSafCoo.lesSecPri.lesHys.y,faiSafCoo.timPriSet.passed,faiSafCoo.timPriSet.entryTime,faiSafCoo.timSecPri.passed,faiSafCoo.timSecPri.entryTime,faiSafCoo.y1,faiSafCoo.ph.y,faiSafCoo.lesSecSet.lesHys.y,faiSafCoo.timSecSet.passed,faiSafCoo.timSecSet.entryTime) * Number of discrete states: 14 (faiSafHea.lesPriSet.lesHys.y,faiSafHea.timPriSet.entryTime,faiSafHea.lesSecSet.lesHys.y,faiSafHea.timSecSet.entryTime,faiSafHea.lesSecPri.lesHys.y,faiSafHea.timSecPri.entryTime,faiSafCooPri.lesPriSet.lesHys.y,faiSafCooPri.timPriSet.entryTime,faiSafCoo.lesPriSet.lesHys.y,faiSafCoo.timPriSet.entryTime,faiSafCoo.lesSecPri.lesHys.y,faiSafCoo.timSecPri.entryTime,faiSafCoo.lesSecSet.lesHys.y,faiSafCoo.timSecSet.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0006237/0.08363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002171/0.0858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.08581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001061/0.08687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.0889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.09315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.09348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005715/0.09405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/0.09463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.108e-05/0.09469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002714/0.0974, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_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.5922825168818235]