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.0003043/0.0003043, 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.0002128/0.0002128, 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.1677/0.1677, 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.2998/0.2998, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 14.0.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 2.665e-06/2.665e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.909e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed): time 0.007591/0.00762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007068/0.01469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.01622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001073/0.01729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001399/0.01869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.003522/0.0253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.02665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.02944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.03055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.03094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.03131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.03183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0008094/0.03264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002544/0.03518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002715/0.03546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.865e-06/0.03546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.498e-05/0.03547, 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.003303/0.03878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001623/0.03894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.03958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.0408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.04101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.04138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.04331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.04335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.04348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.04352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.04461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005983/0.05059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.05153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.05174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.0518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008014/0.0526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=97): time 2.282e-05/0.05262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=97): time 0.001217/0.05384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.05392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.05516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003784/0.05554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0006595/0.0562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.05647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007557/0.05723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.413e-05/0.05728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.05771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.05835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009104/0.05926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.05927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.001814/0.06109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.06121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.06123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.06127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.06194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.06197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.06303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.06321, 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.0008459/0.06405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.06427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000899/0.06517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.06519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/0.06521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.06522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.06805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.06806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.06857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.06859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.06866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.426e-05/0.06869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.0687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.06983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.07012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.07053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.07124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/0.07167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.07175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000464/0.07221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.577e-05/0.07225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002152/0.0744, 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.0007588/0.07516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001709/0.07687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.07688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.07728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.07967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.08296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.08328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005329/0.08382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000939/0.08475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 7.761e-05/0.08483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005101/0.08993, 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.4401251412928104]