Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed.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.0003199/0.0003199, 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.000273/0.000273, 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.1459/0.1459, 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.3104/0.3104, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.1.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.FanCoilUnits.Subsequences.Validation.FanSpeed,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|fanSpe.opeMod|fanSpe.u1FanPro|fanSpe.uHea|fanSpe.uCoo|fanSpe.y1Fan|fanSpe.yFan|fanSpe1.opeMod|fanSpe1.u1FanPro|fanSpe1.uHea|fanSpe1.uCoo|fanSpe1.y1Fan|fanSpe1.yFan|fanSpe2.opeMod|fanSpe2.u1FanPro|fanSpe2.uHea|fanSpe2.uCoo|fanSpe2.y1Fan|fanSpe2.yFan|fanSpe3.opeMod|fanSpe3.u1FanPro|fanSpe3.uCoo|fanSpe3.y1Fan|fanSpe3.yFan|fanSpe4.opeMod|fanSpe4.u1FanPro|fanSpe4.uHea|fanSpe4.y1Fan|fanSpe4.yFan|fanSpe5.opeMod|fanSpe5.u1FanPro|fanSpe5.y1Fan|fanSpe5.yFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|fanSpe.opeMod|fanSpe.u1FanPro|fanSpe.uHea|fanSpe.uCoo|fanSpe.y1Fan|fanSpe.yFan|fanSpe1.opeMod|fanSpe1.u1FanPro|fanSpe1.uHea|fanSpe1.uCoo|fanSpe1.y1Fan|fanSpe1.yFan|fanSpe2.opeMod|fanSpe2.u1FanPro|fanSpe2.uHea|fanSpe2.uCoo|fanSpe2.y1Fan|fanSpe2.yFan|fanSpe3.opeMod|fanSpe3.u1FanPro|fanSpe3.uCoo|fanSpe3.y1Fan|fanSpe3.yFan|fanSpe4.opeMod|fanSpe4.u1FanPro|fanSpe4.uHea|fanSpe4.y1Fan|fanSpe4.yFan|fanSpe5.opeMod|fanSpe5.u1FanPro|fanSpe5.y1Fan|fanSpe5.yFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.854e-05/4.174e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed): time 0.01737/0.01741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.008636/0.02605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.02773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.02851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001028/0.02954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.03204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001995/0.03403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.03514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.03681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.03756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.03782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.03807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000384/0.03845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.03904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00172/0.04076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002071/0.04097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.326e-06/0.04097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.432e-05/0.04099, 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: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.002565/0.04355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001287/0.04368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.04422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.0453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.04549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.04573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.04718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.04721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.04734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.04737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.04799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.05204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.05256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.05272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.781e-05/0.05278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.05333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=97): time 1.119e-05/0.05334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=97): time 0.0008382/0.05417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.05425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.05491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.05512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.05552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.05573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004528/0.05618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.355e-05/0.05621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.05658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.05708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.05781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.05782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.001259/0.05908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.05916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.05918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.05921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.05974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.05976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.06051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.06065, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,reaToInt5.y,fanSpe5.y1Fan,fanSpe5.unOccMod.y,fanSpe5.con.y,reaToInt4.y,booPul4.y,$PRE.booPul4.y,fanSpe4.hysDeaHea.y,$PRE.fanSpe4.hysDeaHea.y,fanSpe4.y1Fan,fanSpe4.unOccMod.y,fanSpe4.con.y,reaToInt3.y,booPul3.y,$PRE.booPul3.y,fanSpe3.hysDeaCoo.y,$PRE.fanSpe3.hysDeaCoo.y,fanSpe3.y1Fan,fanSpe3.unOccMod.y,reaToInt2.y,booPul2.y,$PRE.booPul2.y,fanSpe1.hysDeaCoo.y,$PRE.fanSpe1.hysDeaCoo.y,fanSpe1.hysDeaHea.y,$PRE.fanSpe1.hysDeaHea.y,fanSpe1.y1Fan,fanSpe1.unOccMod.y,booPul1.y,$PRE.booPul1.y,reaToInt1.y,fanSpe2.hysDeaCoo.y,$PRE.fanSpe2.hysDeaCoo.y,fanSpe2.hysDeaHea.y,$PRE.fanSpe2.hysDeaHea.y,fanSpe2.y1Fan,fanSpe2.unOccMod.y,reaToInt.y,booPul.y,$PRE.booPul.y,fanSpe.hysDeaCoo.y,$PRE.fanSpe.hysDeaCoo.y,fanSpe.hysDeaHea.y,$PRE.fanSpe.hysDeaHea.y,fanSpe.y1Fan,fanSpe.unOccMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 6 * 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.0004529/0.06111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.06125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.06191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.06192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.06193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.06194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.06359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.0636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.06401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.06403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.0641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.157e-05/0.06412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/0.06413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.06489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.06507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.06538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.06596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.06623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.0663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003137/0.06661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.892e-05/0.06664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001399/0.06804, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,fanSpe5.y1Fan,reaToInt5.y,booPul5.y,$whenCondition3,$whenCondition4,fanSpe4.hysDeaHea.y,booPul4.y,$whenCondition5,$whenCondition6,fanSpe3.hysDeaCoo.y,booPul3.y,$whenCondition7,$whenCondition8,fanSpe1.hysDeaHea.y,fanSpe1.hysDeaCoo.y,booPul2.y,$whenCondition9,$whenCondition10,fanSpe2.y1Fan,fanSpe2.hysDeaHea.y,fanSpe2.hysDeaCoo.y,reaToInt1.y,booPul1.y,$whenCondition11,$whenCondition12,fanSpe.hysDeaHea.y,fanSpe.hysDeaCoo.y,booPul.y,fanSpe4.y1Fan,fanSpe3.y1Fan,fanSpe1.y1Fan,fanSpe.y1Fan) * Number of discrete states: 8 (fanSpe.hysDeaCoo.y,fanSpe.hysDeaHea.y,fanSpe2.hysDeaHea.y,fanSpe2.hysDeaCoo.y,fanSpe1.hysDeaHea.y,fanSpe1.hysDeaCoo.y,fanSpe3.hysDeaCoo.y,fanSpe4.hysDeaHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.000433/0.06847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001007/0.06948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.476e-05/0.06951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.06983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.07177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.07401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.0743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003444/0.07464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/0.0753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.129e-05/0.07534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003475/0.07882, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_FanCoilUnits_Subsequences_Validation_FanSpeed.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.435376445762813]