Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009885/0.0009886, allocations: 174.5 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006808/0.0006809, allocations: 89.95 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 8.656 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.167, allocations: 105.4 MB / 0.8963 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.001564/0.1686, allocations: 1.519 MB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.1691, allocations: 299.9 kB / 0.898 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.1691, allocations: 3.938 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.1692, allocations: 15.86 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1693, allocations: 27.72 kB / 0.8981 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.1695, allocations: 67.94 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1697, allocations: 248 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1698, allocations: 95.59 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.1699, allocations: 87.55 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.17, allocations: 87.53 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.17, allocations: 8 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.1701, allocations: 12 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.1701, allocations: 47.7 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1702, allocations: 83.45 kB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1704, allocations: 314.8 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1704, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1704, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1704, allocations: 0 / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007749/0.1712, allocations: 0.5298 MB / 0.8996 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1712, allocations: 8.031 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1713, allocations: 50.73 kB / 0.8997 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.1713, allocations: 28.66 kB / 0.8997 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1715, allocations: 255.8 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1715, allocations: 12.38 kB / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1716, allocations: 24.38 kB / 0.9 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.172, allocations: 222 kB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.172, allocations: 7.938 kB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.172, allocations: 4 kB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.172, allocations: 4 kB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.1725, allocations: 203.9 kB / 0.9004 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.1733, allocations: 0.6482 MB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.1738, allocations: 234.4 kB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.174, allocations: 104.8 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1741, allocations: 4 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.1744, allocations: 185.4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.1744, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0007678/0.1752, allocations: 337.6 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.1752, allocations: 55.41 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1754, allocations: 206.2 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1754, allocations: 37.7 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1755, allocations: 144.3 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1755, allocations: 51.28 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.1755, allocations: 45.7 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.1756, allocations: 334.8 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1758, allocations: 107.9 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.1761, allocations: 163.3 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1765, allocations: 177.8 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1765, allocations: 0 / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005105/0.177, allocations: 281.4 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1771, allocations: 4 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1771, allocations: 0 / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.1771, allocations: 0 / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.1773, allocations: 51.91 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1773, allocations: 7.984 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1775, allocations: 63.8 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1775, allocations: 8 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (uHea.count,$PRE.uHea.count,uHea.T_start,$PRE.uHea.T_start,uCoo.count,$PRE.uCoo.count,uCoo.T_start,$PRE.uCoo.T_start,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 9.434e-05/0.1776, allocations: 147.5 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1777, allocations: 19.72 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.1777, allocations: 25.86 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1777, allocations: 0 / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1777, allocations: 12 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1777, allocations: 0 / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1779, allocations: 297.4 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1779, allocations: 0 / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1781, allocations: 31.98 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1781, allocations: 3.984 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1781, allocations: 7.938 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1781, allocations: 0 / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1781, allocations: 4 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.1786, allocations: 282.5 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.1787, allocations: 100.9 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1787, allocations: 7.984 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1789, allocations: 39.97 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.179, allocations: 51.92 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.179, allocations: 4 kB / 0.9045 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.1791, allocations: 144.2 kB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1791, allocations: 0 / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001997/0.1793, allocations: 47.84 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000645/0.1799, allocations: 0.8324 MB / 0.9055 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.1805, allocations: 239.8 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1805, allocations: 3.938 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.1807, allocations: 123.9 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.181, allocations: 23.98 kB / 0.9059 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.1834, allocations: 2.335 MB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1835, allocations: 0.7323 MB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.001e-05/0.1836, allocations: 33.92 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1837, allocations: 63.41 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.8e-07/0.1837, allocations: 0 / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.3732, allocations: 4.05 MB / 0.9129 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.3734, allocations: 247 kB / 0.9131 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.235, allocations: 2.5 kB / 0.9131 GB, free: 50.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)