Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer.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.0003906/0.0003906, 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.0004921/0.0004921, 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.396/0.396, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.8191/0.8191, 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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer,startTime=0,stopTime=604800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|conEco.yOutAirFra|conEco.TMixSet|conEco.TMix|conEco.TOut|conEco.TRet|conEco.minOAFra",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer",simflags="-alarm=400 -emit_protected -lv LOG_STATS") simulate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer,startTime=0,stopTime=604800,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|conEco.yOutAirFra|conEco.TMixSet|conEco.TMix|conEco.TOut|conEco.TRet|conEco.minOAFra",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer",simflags="-alarm=400 -emit_protected -lv LOG_STATS") [Timeout 700] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.476e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer): time 0.008052/0.008077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005042/0.01312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.01431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.01498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.01656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001308/0.01787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.0186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.02067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.02086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.02107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.0214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.02199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00218/0.02417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001363/0.02431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.904e-06/0.02431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.275e-05/0.02432, 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.004375/0.0287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.593e-05/0.02879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.03073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.03313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.03328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.03354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/0.03689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.03692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.03712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.03714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.04007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.04617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.04849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.0498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.04986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001997/0.05186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=43): time 7.235e-05/0.05193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=43): time 0.004757/0.05669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.05677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.05815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.05843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.05887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.05914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006345/0.05977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003193/0.06009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.06126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.06261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.06469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.0647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=65) (initialization): time 0.003396/0.0681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.06813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.06815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.06818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.06889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.06892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.06945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.06959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001563/0.07115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00128/0.07243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001947/0.07438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.158e-05/0.07439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003225/0.07762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.07765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.07766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.07768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.07836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.07838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.07889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.07902, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (conEco.pre1.u,$PRE.conEco.pre1.u,conEco.hysTMix.y,$PRE.conEco.hysTMix.y,conEco.truFalHolTMix.entryTimeFalse,$PRE.conEco.truFalHolTMix.entryTimeFalse,conEco.truFalHolTMix.entryTimeTrue,$PRE.conEco.truFalHolTMix.entryTimeTrue,conEco.truFalHolTMix.not_y,$PRE.conEco.truFalHolTMix.not_y,conEco.truFalHolTMix.not_u,$PRE.conEco.truFalHolTMix.not_u,conEco.truFalHolTMix.y,$PRE.conEco.truFalHolTMix.y,conEco.truFalHolTMix.u,$PRE.conEco.truFalHolTMix.u,conEco.truFalHolCooPot.entryTimeFalse,$PRE.conEco.truFalHolCooPot.entryTimeFalse,conEco.truFalHolCooPot.entryTimeTrue,$PRE.conEco.truFalHolCooPot.entryTimeTrue,conEco.truFalHolCooPot.not_y,$PRE.conEco.truFalHolCooPot.not_y,conEco.truFalHolCooPot.not_u,$PRE.conEco.truFalHolCooPot.not_u,conEco.truFalHolCooPot.y,$PRE.conEco.truFalHolCooPot.y,conEco.truFalHolCooPot.u,$PRE.conEco.truFalHolCooPot.u,conEco.hysCooPot.y,$PRE.conEco.hysCooPot.y,conEco.not1.y,conEco.yCoiSta,conEco.hysChiPla.y,$PRE.conEco.hysChiPla.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,conEco.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0007763/0.0798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.08021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.08054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.08055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.08056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.08057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/0.08566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.08567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.08621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.08622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.08641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.08642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.08642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.09147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/0.09235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/0.09272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.09334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005819/0.09392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/0.09411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0008694/0.09497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.561e-05/0.095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002178/0.09718, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conEco.con.I.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conEco.hysChiPla.y,conEco.yCoiSta,conEco.not1.y,conEco.hysCooPot.y,conEco.truFalHolCooPot.u,conEco.truFalHolCooPot.y,conEco.truFalHolCooPot.not_u,conEco.truFalHolCooPot.not_y,conEco.truFalHolCooPot.entryTimeTrue,conEco.truFalHolCooPot.entryTimeFalse,conEco.truFalHolTMix.u,conEco.truFalHolTMix.y,conEco.truFalHolTMix.not_u,conEco.truFalHolTMix.not_y,conEco.truFalHolTMix.entryTimeTrue,conEco.truFalHolTMix.entryTimeFalse,conEco.hysTMix.y,conEco.pre1.u) * Number of discrete states: 16 (conEco.truFalHolTMix.entryTimeFalse,conEco.truFalHolTMix.entryTimeTrue,conEco.truFalHolCooPot.entryTimeFalse,conEco.truFalHolCooPot.entryTimeTrue,conEco.pre1.u,conEco.hysChiPla.y,conEco.hysCooPot.y,conEco.truFalHolCooPot.not_u,conEco.truFalHolCooPot.u,conEco.hysTMix.y,conEco.truFalHolTMix.not_u,conEco.truFalHolTMix.u,conEco.truFalHolTMix.y,conEco.truFalHolTMix.not_y,conEco.truFalHolCooPot.y,conEco.truFalHolCooPot.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0005026/0.09768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004078/0.1018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001352/0.1031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.1055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.1098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.1105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0008209/0.1114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/0.1124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003909/0.1127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00257/0.1153, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 700] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerEconomizer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerEconomizer.diff",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.4738373599993793]