Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut.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.0003538/0.0003538, 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.0003534/0.0003534, 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.3176/0.3176, 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.6368/0.6368, 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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TOutCut.y|TOut.y|enaDis.truFalHol.y|enaDis.yRetDam_max|enaDis.yRetDam_min|enaDis.yOutDam_max|enaDis.uOutDam_min|hOutCut1.y|hOut.y|enaDis1.truFalHol.y|enaDis1.yRetDam_max|enaDis1.yRetDam_min|enaDis1.yOutDam_max|enaDis1.uOutDam_min|enaDis2.truFalHol.y|enaDis2.yRetDam_max|enaDis2.yRetDam_min|enaDis2.yOutDam_max|enaDis2.uOutDam_min",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut,startTime=0,stopTime=1800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|TOutCut.y|TOut.y|enaDis.truFalHol.y|enaDis.yRetDam_max|enaDis.yRetDam_min|enaDis.yOutDam_max|enaDis.uOutDam_min|hOutCut1.y|hOut.y|enaDis1.truFalHol.y|enaDis1.yRetDam_max|enaDis1.yRetDam_min|enaDis1.yOutDam_max|enaDis1.uOutDam_min|enaDis2.truFalHol.y|enaDis2.yRetDam_max|enaDis2.yRetDam_min|enaDis2.yOutDam_max|enaDis2.uOutDam_min",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.138e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut): time 0.01049/0.01052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006837/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005979/0.01795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.01841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0008705/0.01928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.02085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001373/0.02223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.02341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.02498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.02547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.02572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.02592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.02615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.02661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001623/0.02824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.113e-05/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.854e-06/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.653e-05/0.02835, 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003201/0.03155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001148/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.03259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.03449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.03465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/0.03492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.03773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.942e-05/0.03777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.03798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.04022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/0.04698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.0481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.04864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.04869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.04983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=46): time 8.906e-06/0.04984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=46): time 0.002515/0.05235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.0524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.05368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.05383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.05435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.05459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005993/0.05519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004405/0.05563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.05624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.05745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.05859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.05861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=104) (initialization): time 0.002468/0.06108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.06114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.06116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.872e-05/0.06121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.06171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/0.06174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.06239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.06252, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 83 (enaDis1.hysOutEnt.y,$PRE.enaDis1.hysOutEnt.y,enaDis1.hysOutTem.y,$PRE.enaDis1.hysOutTem.y,enaDis1.truFalHol.entryTimeFalse,$PRE.enaDis1.truFalHol.entryTimeFalse,enaDis1.truFalHol.entryTimeTrue,$PRE.enaDis1.truFalHol.entryTimeTrue,enaDis1.truFalHol.not_y,$PRE.enaDis1.truFalHol.not_y,enaDis1.truFalHol.not_u,$PRE.enaDis1.truFalHol.not_u,enaDis1.truFalHol.y,$PRE.enaDis1.truFalHol.y,enaDis1.truFalHol.u,$PRE.enaDis1.truFalHol.u,enaDis1.andEnaDis.y,$whenCondition4,$whenCondition5,$whenCondition6,enaDis2.hysOutTem.y,$PRE.enaDis2.hysOutTem.y,enaDis2.truFalHol.entryTimeFalse,$PRE.enaDis2.truFalHol.entryTimeFalse,enaDis2.truFalHol.entryTimeTrue,$PRE.enaDis2.truFalHol.entryTimeTrue,enaDis2.truFalHol.not_y,$PRE.enaDis2.truFalHol.not_y,enaDis2.truFalHol.not_u,$PRE.enaDis2.truFalHol.not_u,enaDis2.truFalHol.y,$PRE.enaDis2.truFalHol.y,enaDis2.truFalHol.u,$PRE.enaDis2.truFalHol.u,enaDis2.andEnaDis.y,enaDis.hysOutEnt.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutTem.y,$PRE.enaDis.hysOutTem.y,enaDis.truFalHol.entryTimeFalse,$PRE.enaDis.truFalHol.entryTimeFalse,enaDis.truFalHol.entryTimeTrue,$PRE.enaDis.truFalHol.entryTimeTrue,enaDis.truFalHol.not_y,$PRE.enaDis.truFalHol.not_y,enaDis.truFalHol.not_u,$PRE.enaDis.truFalHol.not_u,enaDis.truFalHol.y,$PRE.enaDis.truFalHol.y,enaDis.truFalHol.u,$PRE.enaDis.truFalHol.u,enaDis.andEnaDis.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition7,$whenCondition8,$whenCondition9,enaDis.intEqu1.y,enaDis.not3.u,enaDis1.intEqu1.y,enaDis1.not3.u,enaDis2.intEqu1.y,enaDis2.not3.u,supFanSta.y,freProSta.y,zoneState.y,enaDis2.conInt1.y,enaDis2.conInt.y,enaDis2.entSubst.y,enaDis1.conInt1.y,enaDis1.conInt.y,enaDis.conInt1.y,enaDis.conInt.y,enaDis.andFrePro.u1,enaDis.andFrePro.u2,enaDis1.andFrePro.u1,enaDis1.andFrePro.u2,enaDis2.andFrePro.u1,enaDis2.andFrePro.u2,enaDis2.andEnaDis.u2,enaDis1.andEnaDis.u2,enaDis.andEnaDis.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 104 * 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.0007161/0.06323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.06357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.06379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.06379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.0638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.06382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.06791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.06791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.06811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.06812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.06823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.06824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.06824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.07042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.07086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.07126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.07183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.07222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.07235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006166/0.07297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.371e-05/0.07298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002039/0.07502, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 35 (enaDis.andEnaDis.y,enaDis2.andEnaDis.y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition3,$whenCondition2,$whenCondition1,enaDis.truFalHol.u,enaDis.truFalHol.y,enaDis.truFalHol.not_u,enaDis.truFalHol.not_y,enaDis.truFalHol.entryTimeTrue,enaDis.truFalHol.entryTimeFalse,enaDis.hysOutTem.y,enaDis.hysOutEnt.y,enaDis2.truFalHol.u,enaDis2.truFalHol.y,enaDis2.truFalHol.not_u,enaDis2.truFalHol.not_y,enaDis2.truFalHol.entryTimeTrue,enaDis2.truFalHol.entryTimeFalse,enaDis2.hysOutTem.y,enaDis1.andEnaDis.y,$whenCondition6,$whenCondition5,$whenCondition4,enaDis1.truFalHol.u,enaDis1.truFalHol.y,enaDis1.truFalHol.not_u,enaDis1.truFalHol.not_y,enaDis1.truFalHol.entryTimeTrue,enaDis1.truFalHol.entryTimeFalse,enaDis1.hysOutTem.y,enaDis1.hysOutEnt.y) * Number of discrete states: 23 (enaDis1.truFalHol.entryTimeFalse,enaDis1.truFalHol.entryTimeTrue,enaDis1.hysOutEnt.y,enaDis1.hysOutTem.y,enaDis1.truFalHol.u,enaDis1.truFalHol.not_u,enaDis1.truFalHol.y,enaDis1.truFalHol.not_y,enaDis.truFalHol.entryTimeFalse,enaDis.truFalHol.entryTimeTrue,enaDis2.truFalHol.entryTimeFalse,enaDis2.truFalHol.entryTimeTrue,enaDis2.hysOutTem.y,enaDis2.truFalHol.not_u,enaDis2.truFalHol.u,enaDis2.truFalHol.y,enaDis2.truFalHol.not_y,enaDis.hysOutEnt.y,enaDis.hysOutTem.y,enaDis.truFalHol.u,enaDis.truFalHol.not_u,enaDis.truFalHol.y,enaDis.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0004496/0.07547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001577/0.07705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.07705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.07773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.0801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.08422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.08451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004713/0.08498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.08544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.279e-05/0.08547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001886/0.08736, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Enable_TOut_hOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Enable_TOut_hOut.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.791305168066174]