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 [: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.0004518/0.0004518, 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.0006373/0.0006373, 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.4137/0.4137, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.9594/0.9594, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] 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="-alarm=800 -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="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.674e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed): time 0.01496/0.01499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0126/0.02759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.02988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001788/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002051/0.03371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.0387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004296/0.043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.04566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.04964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.05213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0006809/0.05281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.05348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009416/0.05442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002163/0.05659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.007466/0.06405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004963/0.06455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.07e-06/0.06456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.907e-05/0.06458, 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.01101/0.07559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001714/0.07576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.0787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.08429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.08466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008801/0.08554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.009451/0.09499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.761e-05/0.09508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004982/0.09558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.09568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007384/0.1031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.1224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.1262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.1282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003748/0.132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=97): time 0.0002574/0.1322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=97): time 0.008514/0.1407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003701/0.1411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/0.1455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0007693/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.1477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.1483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002282/0.1506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003033/0.1509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/0.1548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/0.1594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005685/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.1651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.0114/0.1765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.1768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.1768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.326e-05/0.1769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.1787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-05/0.1788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.1815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/0.1821, 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,fanSpe.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,fanSpe2.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,fanSpe1.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,fanSpe3.unOccMod.y,reaToInt3.y,booPul3.y,$PRE.booPul3.y,fanSpe3.hysDeaCoo.y,$PRE.fanSpe3.hysDeaCoo.y,fanSpe3.y1Fan,fanSpe4.con.y,fanSpe4.unOccMod.y,reaToInt4.y,booPul4.y,$PRE.booPul4.y,fanSpe4.hysDeaHea.y,$PRE.fanSpe4.hysDeaHea.y,fanSpe4.y1Fan,fanSpe5.con.y,fanSpe5.unOccMod.y,booPul5.y,$PRE.booPul5.y,reaToInt5.y,fanSpe5.y1Fan) * 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.00264/0.1848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/0.1857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.1906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.1907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.1907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.1907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.2034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/0.2034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.2049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-05/0.2049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/0.2052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-05/0.2053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.292e-05/0.2053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007105/0.2124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.2136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/0.2143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.2161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/0.2174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/0.2177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002564/0.2202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.041e-05/0.2203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.004142/0.2244, 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.0008994/0.2253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.007297/0.2326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.2327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.004065/0.2367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006966/0.2437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.2555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/0.2575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001246/0.2588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/0.2611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.000906/0.262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005462/0.2674, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.FanCoilUnits.Subsequences.Validation.FanSpeed.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.975808531000439]