Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.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.0002351/0.0002351, 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.0002243/0.0002243, 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.1131/0.1131, 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.3021/0.3021, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.199e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves): time 0.00807/0.008102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006328/0.01443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.01512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.01588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001006/0.01688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.01898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001741/0.02072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.0222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.02401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.02449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.02468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.02514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.02551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001642/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001497/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.393e-06/0.0273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.074e-05/0.02731, 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002565/0.02988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001707/0.03005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.03055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.03185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.03205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.03231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.03404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/0.0341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.03427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.0343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/0.03496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.03902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.03981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.04006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.546e-05/0.04013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.04063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=89): time 1.627e-05/0.04065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=89): time 0.001154/0.0418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.04187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.04253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.04271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.0431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.04334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.04369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.897e-05/0.04374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.0444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.04516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.04518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=133) (initialization): time 0.001398/0.04658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.04665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.04668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/0.04672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/0.04731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/0.04735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.04781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.04794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004168/0.04835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004025/0.04876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006941/0.04945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.119e-05/0.04947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001346/0.05082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/0.05089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.05092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.05094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.05151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/0.05154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.05197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.05208, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 42 (booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition1,$whenCondition2,damValFan1.conDam.cheYMinMax.y,damValFan1.conVal.cheYMinMax.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or3.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.greThr3.greHys.y,$PRE.damValFan1.greThr3.greHys.y,damValFan1.isUno.y,damValFan1.gre2.greHys.y,$PRE.damValFan1.gre2.greHys.y,damValFan1.not1.y,damValFan1.gre1.greHys.y,$PRE.damValFan1.gre1.greHys.y,damValFan1.and1.y,damValFan1.isOcc.y,damValFan1.lat.y,damValFan1.gre.greHys.y,$PRE.damValFan1.gre.greHys.y,damValFan1.greThr2.greHys.y,$PRE.damValFan1.greThr2.greHys.y,damValFan1.greThr.greHys.y,$PRE.damValFan1.greThr.greHys.y,damValFan1.greThr1.greHys.y,$PRE.damValFan1.greThr1.greHys.y,damValFan1.and4.y,$whenCondition3,$whenCondition4,$whenCondition6,damValFan1.occ.y,damValFan1.uno.y,damValFan1.conInt.y,damValFan1.conInt1.y,damValFan1.conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * 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.0004021/0.05248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.05263, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.0539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.05391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.05392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.05393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.05606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.05607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.05652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.05653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.05661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.05663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.05663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.05788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.05803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.05832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.05863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/0.05905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.05914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003338/0.05947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.038e-05/0.0595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001576/0.06108, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (damValFan1.conDam.I.y,damValFan1.conVal.I.y) * Number of discrete variables: 27 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,damValFan1.and4.y,damValFan1.greThr1.greHys.y,damValFan1.greThr.greHys.y,damValFan1.greThr2.greHys.y,damValFan1.gre.greHys.y,damValFan1.lat.y,damValFan1.isOcc.y,damValFan1.and1.y,damValFan1.gre1.greHys.y,damValFan1.not1.y,damValFan1.gre2.greHys.y,damValFan1.isUno.y,damValFan1.greThr3.greHys.y,damValFan1.forZerFlo.y,damValFan1.forCooMax.y,damValFan1.forMinFlo.y,damValFan1.or3.y,damValFan1.or2.y,reaToInt2.y,reaToInt1.y,booPul.y) * Number of discrete states: 7 (damValFan1.gre1.greHys.y,damValFan1.gre.greHys.y,damValFan1.greThr2.greHys.y,damValFan1.greThr.greHys.y,damValFan1.greThr1.greHys.y,damValFan1.gre2.greHys.y,damValFan1.greThr3.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005297/0.06161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001575/0.06318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.06319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.06357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.06476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.06724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.06746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006929/0.06816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.06873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.882e-05/0.06878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004201/0.07298, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_DamperValves.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.2796965688467026]